From 228a538f8824b4c1db4d420436ee8e77f5984755 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 16 Jan 2009 22:01:56 +0000 Subject: [PATCH] Identify which package has unused local USE descriptions, in case more than one package is being scanned. Thanks to Thomas Sachau for reporting. svn path=/main/trunk/; revision=12523 --- bin/repoman | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- 2.26.2