From fa8ea8ef3cc8a7433d496e3dc54d56a0bd2ffd06 Mon Sep 17 00:00:00 2001 From: Arfrever Frehtes Taifersar Arahesis Date: Mon, 21 Sep 2009 12:49:33 +0000 Subject: Use range() instead of xrange() for compatibility with Python 3. (2to3-3.1 -f xrange -nw ${FILES}) svn path=/main/trunk/; revision=14317 --- bin/repoman | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/repoman') diff --git a/bin/repoman b/bin/repoman index 823cdce62..13c126e30 100755 --- a/bin/repoman +++ b/bin/repoman @@ -968,12 +968,12 @@ for x in scanlist: # Sort ebuilds in ascending order for the KEYWORDS.dropped check. pkgsplits = {} - for i in xrange(len(ebuildlist)): + for i in range(len(ebuildlist)): ebuild_split = portage.pkgsplit(ebuildlist[i]) pkgsplits[ebuild_split] = ebuildlist[i] ebuildlist[i] = ebuild_split ebuildlist.sort(key=cmp_sort_key(portage.pkgcmp)) - for i in xrange(len(ebuildlist)): + for i in range(len(ebuildlist)): ebuildlist[i] = pkgsplits[ebuildlist[i]] del pkgsplits -- cgit v1.2.3-1-g7c22