summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-01-18 23:43:41 +0000
committerZac Medico <zmedico@gentoo.org>2009-01-18 23:43:41 +0000
commitdbe3b2cf7aeef1e2560147b03516912660c05603 (patch)
treef5f6af6418b280e42227c676b4dac969ba563a37 /bin/repoman
parentIdentify which package has unused local USE descriptions, in case more than (diff)
downloadportage-multirepo-dbe3b2cf7aeef1e2560147b03516912660c05603.tar.gz
portage-multirepo-dbe3b2cf7aeef1e2560147b03516912660c05603.tar.bz2
portage-multirepo-dbe3b2cf7aeef1e2560147b03516912660c05603.zip
Fix false positive in the 'unused local USE-description' warning. Thanks to
Alexis Ballier <aballier@g.o> for reporting. (trunk r12524) svn path=/main/branches/2.1.6/; revision=12536
Diffstat (limited to 'bin/repoman')
-rwxr-xr-xbin/repoman2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/repoman b/bin/repoman
index 5e9ee1cc..99f37cc8 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):