summaryrefslogtreecommitdiffstats
path: root/bin/portageq
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/portageq
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/portageq')
-rwxr-xr-xbin/portageq2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/portageq b/bin/portageq
index 6a0ec5eb0..59eedc59f 100755
--- a/bin/portageq
+++ b/bin/portageq
@@ -611,7 +611,7 @@ def main():
args = sys.argv[2:]
if args and not isinstance(args[0], unicode):
- for i in xrange(len(args)):
+ for i in range(len(args)):
args[i] = portage._unicode_decode(args[i])
try: