From: Zac Medico Date: Tue, 6 Oct 2009 19:18:48 +0000 (-0000) Subject: Fix collision in variable name 'x'. X-Git-Tag: v2.2_rc45~33 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=747a4a37b1e7352c87b532b23acc59d5302f0dc7;p=portage.git Fix collision in variable name 'x'. svn path=/main/trunk/; revision=14505 --- 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