summaryrefslogtreecommitdiffstats
path: root/bin/archive-conf
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-09-21 12:49:33 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-09-21 12:49:33 +0000
commitfa8ea8ef3cc8a7433d496e3dc54d56a0bd2ffd06 (patch)
tree90ba609a1b93428a62c936ae321d485f519b4f85 /bin/archive-conf
parentc581522b4fcac9edae8e494e213c654612ad4490 (diff)
downloadportage-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/archive-conf')
-rwxr-xr-xbin/archive-conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/archive-conf b/bin/archive-conf
index 96c2ea1a8..d36dc49d9 100755
--- a/bin/archive-conf
+++ b/bin/archive-conf
@@ -34,7 +34,7 @@ except ImportError:
import md5
def md5_to_hex(md5sum):
hexform = ""
- for ix in xrange(len(md5sum)):
+ for ix in range(len(md5sum)):
hexform = hexform + "%02x" % ord(md5sum[ix])
return hexform.lower()