summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-08-24 06:09:41 -0700
committerZac Medico <zmedico@gentoo.org>2010-08-24 06:09:41 -0700
commit7df2a7c22eb0b3a65e4e597e8b37d1ae5abe91e7 (patch)
treeca51d80dd75734c15d279e2c1b12be7185ea4518
parenta0727efe9236ac7cbd1a60b0e36cc4db253dad9b (diff)
downloadportage-7df2a7c22eb0b3a65e4e597e8b37d1ae5abe91e7.tar.gz
portage-7df2a7c22eb0b3a65e4e597e8b37d1ae5abe91e7.tar.bz2
portage-7df2a7c22eb0b3a65e4e597e8b37d1ae5abe91e7.zip
Use Package.iuse.is_valid_flag() to account for implicit IUSE.
-rwxr-xr-xbin/repoman2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/repoman b/bin/repoman
index 039a995ab..b497e107f 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -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))