diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-09-21 12:49:33 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-09-21 12:49:33 +0000 |
commit | fa8ea8ef3cc8a7433d496e3dc54d56a0bd2ffd06 (patch) | |
tree | 90ba609a1b93428a62c936ae321d485f519b4f85 /bin/repoman | |
parent | c581522b4fcac9edae8e494e213c654612ad4490 (diff) | |
download | portage-fa8ea8ef3cc8a7433d496e3dc54d56a0bd2ffd06.tar.gz portage-fa8ea8ef3cc8a7433d496e3dc54d56a0bd2ffd06.tar.bz2 portage-fa8ea8ef3cc8a7433d496e3dc54d56a0bd2ffd06.zip |
Use range() instead of xrange() for compatibility with Python 3.
(2to3-3.1 -f xrange -nw ${FILES})
svn path=/main/trunk/; revision=14317
Diffstat (limited to 'bin/repoman')
-rwxr-xr-x | bin/repoman | 4 |
1 files changed, 2 insertions, 2 deletions
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 |