projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24fc384
)
Identify which package has unused local USE descriptions, in case more than
author
Zac Medico
<zmedico@gentoo.org>
Fri, 16 Jan 2009 22:01:56 +0000
(22:01 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 16 Jan 2009 22:01:56 +0000
(22:01 -0000)
one package is being scanned. Thanks to Thomas Sachau <tommy@g.o> for reporting.
svn path=/main/trunk/; revision=12523
bin/repoman
patch
|
blob
|
history
diff --git
a/bin/repoman
b/bin/repoman
index 95cee814f4c12cac9103b19c8222a4f36620f2ab..217e8acc36efa48f6ac8baff7098796c2145d409 100755
(executable)
--- a/
bin/repoman
+++ b/
bin/repoman
@@
-1586,7
+1586,8
@@
for x in scanlist:
for myflag in muselist.difference(used_useflags):
stats["metadata.warning"] += 1
fails["metadata.warning"].append(
- "unused local USE-description: '%s'" % myflag)
+ "%s/metadata.xml: unused local USE-description: '%s'" % \
+ (x, myflag))
if options.mode == "manifest":
sys.exit(dofail)