summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Luther <SebastianLuther@gmx.de>2010-08-24 11:04:25 +0200
committerZac Medico <zmedico@gentoo.org>2010-08-24 06:08:07 -0700
commita0727efe9236ac7cbd1a60b0e36cc4db253dad9b (patch)
tree209fce5da56b889bdec69c025e5f4e75bd7d43ac
parent438db16d8afef9ad00b2792e529b889e13f2e9b3 (diff)
downloadportage-a0727efe9236ac7cbd1a60b0e36cc4db253dad9b.tar.gz
portage-a0727efe9236ac7cbd1a60b0e36cc4db253dad9b.tar.bz2
portage-a0727efe9236ac7cbd1a60b0e36cc4db253dad9b.zip
repoman: Let repoman check for flags missing from IUSE
-rwxr-xr-xbin/repoman3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/repoman b/bin/repoman
index 3b28bf5be..039a995ab 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -1623,7 +1623,8 @@ for x in scanlist:
token_class=portage.dep.Atom
try:
- atoms = portage.dep.use_reduce(mydepstr, matchall=1, flat=True, token_class=token_class)
+ atoms = portage.dep.use_reduce(mydepstr, matchall=1, flat=True, \
+ is_valid_flag=lambda x: x in myiuse, token_class=token_class)
except portage.exception.InvalidDependString as e:
atoms = None
badsyntax.append(str(e))