From 4326c7eafc62817964f193c58fdc95c1e1273642 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 24 Nov 2007 22:12:26 +0000 Subject: [PATCH] Bug #140180 - Never trigger a LICENSE.missing violation for old style virtuals since they don't directly install anything. (trunk r8645) svn path=/main/branches/2.1.2/; revision=8646 --- bin/repoman | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bin/repoman b/bin/repoman index 666ed6545..387a1382f 100755 --- a/bin/repoman +++ b/bin/repoman @@ -1263,8 +1263,10 @@ for x in scanlist: stats["virtual.exists"]+=1 fails["virtual.exists"].append(x+"/"+y+".ebuild: "+prov_cp) - for pos in range(0,len(missingvars)): - if not myaux[missingvars[pos]]: + for pos, missing_var in enumerate(missingvars): + if not myaux.get(missing_var): + if missing_var == "LICENSE" and catdir == "virtual": + continue myqakey=missingvars[pos]+".missing" stats[myqakey]=stats[myqakey]+1 fails[myqakey].append(x+"/"+y+".ebuild") -- 2.26.2