From cd059b0c37fb7b1d48530a4a8babb09867aced24 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 21 Dec 2007 03:28:48 +0000 Subject: [PATCH] Eliminate redundant "notadded" error filtering. svn path=/main/trunk/; revision=9023 --- bin/repoman | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/bin/repoman b/bin/repoman index 68a692d57..e7b841282 100755 --- a/bin/repoman +++ b/bin/repoman @@ -477,9 +477,6 @@ def last(full=False): for x in qacats: if not stats[x]: continue - if "notadded" in x and not isCvs: - stats[x] = 0 - continue dowarn = 1 if x not in qawarnings: dofail = 1 @@ -1214,7 +1211,7 @@ for x in scanlist: if os.stat(checkdir+"/"+y+".ebuild")[0] & 0x0248: stats["file.executable"] += 1 fails["file.executable"].append(x+"/"+y+".ebuild") - if y not in eadded: + if isCvs and y not in eadded: #ebuild not added to cvs stats["ebuild.notadded"]=stats["ebuild.notadded"]+1 fails["ebuild.notadded"].append(x+"/"+y+".ebuild") @@ -1645,9 +1642,6 @@ dofull = options.mode not in ("full", "lfull") for x in qacats: if not stats[x]: continue - if "notadded" in x and not isCvs: - stats[x] = 0 - continue dowarn = 1 if x not in qawarnings: dofail = 1 -- 2.26.2