Use Package.iuse.is_valid_flag() to account for implicit IUSE.
authorZac Medico <zmedico@gentoo.org>
Tue, 24 Aug 2010 13:09:41 +0000 (06:09 -0700)
committerZac Medico <zmedico@gentoo.org>
Tue, 24 Aug 2010 13:09:41 +0000 (06:09 -0700)
bin/repoman

index 039a995abcc1531f13e93b7e363c72e1952ba34c..b497e107ffd123b52f3612969359900fc2ce1cde 100755 (executable)
@@ -1624,7 +1624,7 @@ for x in scanlist:
 
                        try:
                                atoms = portage.dep.use_reduce(mydepstr, matchall=1, flat=True, \
-                                       is_valid_flag=lambda x: x in myiuse, token_class=token_class)
+                                       is_valid_flag=pkg.iuse.is_valid_flag, token_class=token_class)
                        except portage.exception.InvalidDependString as e:
                                atoms = None
                                badsyntax.append(str(e))