summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-10-06 19:18:48 +0000
committerZac Medico <zmedico@gentoo.org>2009-10-06 19:18:48 +0000
commit747a4a37b1e7352c87b532b23acc59d5302f0dc7 (patch)
treeb5af9a931a92dd60d34daaab7daeff8afc643dad
parent9df052e840e09c51790016c2b23597c04fc20d68 (diff)
downloadportage-747a4a37b1e7352c87b532b23acc59d5302f0dc7.tar.gz
portage-747a4a37b1e7352c87b532b23acc59d5302f0dc7.tar.bz2
portage-747a4a37b1e7352c87b532b23acc59d5302f0dc7.zip
Fix collision in variable name 'x'.
svn path=/main/trunk/; revision=14505
-rwxr-xr-xbin/repoman4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/repoman b/bin/repoman
index fd20b0778..5deef88f9 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -1503,8 +1503,8 @@ for x in scanlist:
stats[m+".syntax"] += 1
fails[m+".syntax"].append(catpkg+".ebuild "+m+": "+b)
- badlicsyntax = len([x for x in type_list if x == "LICENSE"])
- badprovsyntax = len([x for x in type_list if x == "PROVIDE"])
+ badlicsyntax = len([z for z in type_list if z == "LICENSE"])
+ badprovsyntax = len([z for z in type_list if z == "PROVIDE"])
baddepsyntax = len(type_list) != badlicsyntax + badprovsyntax
badlicsyntax = badlicsyntax > 0
badprovsyntax = badprovsyntax > 0