repoman: only report allmasked if ebuilds exist
authorZac Medico <zmedico@gentoo.org>
Thu, 16 Jun 2011 20:03:43 +0000 (13:03 -0700)
committerZac Medico <zmedico@gentoo.org>
Thu, 16 Jun 2011 20:03:43 +0000 (13:03 -0700)
bin/repoman

index 9cf1f3aa0b35bbc46d94328631eb44bfb314d1df..164a1278d9a3db083b12ecfd68a0a7c226900322 100755 (executable)
@@ -1942,7 +1942,7 @@ for x in scanlist:
        #if not portage.portdb.xmatch("bestmatch-visible",x):
        #    stats["ebuild.nostable"]+=1
        #    fails["ebuild.nostable"].append(x)
-       if allmasked and repolevel == 3:
+       if ebuildlist and allmasked and repolevel == 3:
                stats["ebuild.allmasked"]+=1
                fails["ebuild.allmasked"].append(x)