Identify which package has unused local USE descriptions, in case more than
authorZac Medico <zmedico@gentoo.org>
Fri, 16 Jan 2009 22:01:56 +0000 (22:01 -0000)
committerZac 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

index 95cee814f4c12cac9103b19c8222a4f36620f2ab..217e8acc36efa48f6ac8baff7098796c2145d409 100755 (executable)
@@ -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)