summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-01-16 22:24:06 +0000
committerZac Medico <zmedico@gentoo.org>2009-01-16 22:24:06 +0000
commit42eb4ea70259dc0e24a5767a4d8f815d632ba228 (patch)
treed138e8773e99f7caa8524aea46e2c5d871ff14ee
parent228a538f8824b4c1db4d420436ee8e77f5984755 (diff)
downloadportage-42eb4ea70259dc0e24a5767a4d8f815d632ba228.tar.gz
portage-42eb4ea70259dc0e24a5767a4d8f815d632ba228.tar.bz2
portage-42eb4ea70259dc0e24a5767a4d8f815d632ba228.zip
Fix false positive in the 'unused local USE-description' warning. Thanks to
Alexis Ballier <aballier@g.o> for reporting. svn path=/main/trunk/; revision=12524
-rwxr-xr-xbin/repoman2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/repoman b/bin/repoman
index 217e8acc3..05d6d99c2 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -1369,11 +1369,11 @@ for x in scanlist:
default_use = []
for myflag in myaux["IUSE"].split():
flag_name = myflag.lstrip("+-")
+ used_useflags.add(flag_name)
if myflag != flag_name:
default_use.append(myflag)
if flag_name not in uselist:
myuse.append(flag_name)
- used_useflags.update(myuse)
# uselist checks - metadata
for mypos in range(len(myuse)-1,-1,-1):