From 747a4a37b1e7352c87b532b23acc59d5302f0dc7 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 6 Oct 2009 19:18:48 +0000 Subject: [PATCH] Fix collision in variable name 'x'. svn path=/main/trunk/; revision=14505 --- bin/repoman | 4 ++-- 1 file 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 -- 2.26.2