Gentoo Archives: gentoo-commits

From: "Zac Medico (zmedico)" <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] portage r14505 - main/trunk/bin
Date: Tue, 06 Oct 2009 19:18:54
Message-Id: E1MvFYe-0004Zr-Ml@stork.gentoo.org
1 Author: zmedico
2 Date: 2009-10-06 19:18:48 +0000 (Tue, 06 Oct 2009)
3 New Revision: 14505
4
5 Modified:
6 main/trunk/bin/repoman
7 Log:
8 Fix collision in variable name 'x'.
9
10
11 Modified: main/trunk/bin/repoman
12 ===================================================================
13 --- main/trunk/bin/repoman 2009-10-06 18:56:14 UTC (rev 14504)
14 +++ main/trunk/bin/repoman 2009-10-06 19:18:48 UTC (rev 14505)
15 @@ -1503,8 +1503,8 @@
16 stats[m+".syntax"] += 1
17 fails[m+".syntax"].append(catpkg+".ebuild "+m+": "+b)
18
19 - badlicsyntax = len([x for x in type_list if x == "LICENSE"])
20 - badprovsyntax = len([x for x in type_list if x == "PROVIDE"])
21 + badlicsyntax = len([z for z in type_list if z == "LICENSE"])
22 + badprovsyntax = len([z for z in type_list if z == "PROVIDE"])
23 baddepsyntax = len(type_list) != badlicsyntax + badprovsyntax
24 badlicsyntax = badlicsyntax > 0
25 badprovsyntax = badprovsyntax > 0