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 17:57:18 +0000 (09:57 -0800)
commita551ca783486467f531a2e38ac3730826f1269bb
tree69660c6376ecbef1caf5d3d45f3c71b9e56f8bd3
parent389dc491de2d865ab7592f5c17fc39110921da18
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