Bug #249652 - Add IUSE defaults support inside CmdFindUSEs.perform().
authorzmedico <zmedico@gentoo.org>
Fri, 5 Dec 2008 22:51:39 +0000 (22:51 -0000)
committerzmedico <zmedico@gentoo.org>
Fri, 5 Dec 2008 22:51:39 +0000 (22:51 -0000)
svn path=/; revision=526

trunk/src/equery/equery

index a1239d91045dd962de98521fc4901933fa968737..fd8fa4f47344d23fc2a8fde82fc06cee846c2603 100755 (executable)
@@ -1625,6 +1625,7 @@ class CmdFindUSEs(Command):
                                status = 2
 
                        useflags = pkg.get_env_var("IUSE").split()
+                       useflags = [f.lstrip("+-") for f in useflags]
 
                        if query not in useflags:
                                continue