diff options
author | Zac Medico <zmedico@gentoo.org> | 2009-01-16 22:01:56 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2009-01-16 22:01:56 +0000 |
commit | 228a538f8824b4c1db4d420436ee8e77f5984755 (patch) | |
tree | 3d952cb482bf7fa6d37b0270ce02be2d7ee0f8a8 | |
parent | 24fc384e03cabc48c72699435a5837b4f64053e9 (diff) | |
download | portage-228a538f8824b4c1db4d420436ee8e77f5984755.tar.gz portage-228a538f8824b4c1db4d420436ee8e77f5984755.tar.bz2 portage-228a538f8824b4c1db4d420436ee8e77f5984755.zip |
Identify which package has unused local USE descriptions, in case more than
one package is being scanned. Thanks to Thomas Sachau <tommy@g.o> for reporting.
svn path=/main/trunk/; revision=12523
-rwxr-xr-x | bin/repoman | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/repoman b/bin/repoman index 95cee814f..217e8acc3 100755 --- 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) |