paren_enclose: preserve atom USE conditionals
authorZac Medico <zmedico@gentoo.org>
Sun, 19 Dec 2010 17:57:18 +0000 (09:57 -0800)
committerZac Medico <zmedico@gentoo.org>
Sun, 19 Dec 2010 18:04:06 +0000 (10:04 -0800)
commit86a0cceea7b7a320bc5131ba77f07d041259bfac
tree338b780bd8d1c2cf7d79d30d6daa709d41470440
parent83dc26cd9043ef86d85c920ba6bf77d9652cc14c
paren_enclose: preserve atom USE conditionals

The depgraph sometimes uses paren_enclose to temporarily convert parts
of use_reduce output to a plain string. In these cases, we want to
preserve atom USE conditionals, since these sometimes make a difference
for IUSE checks during package matching (as in bug #348389).
pym/_emerge/depgraph.py
pym/portage/dep/__init__.py