summaryrefslogtreecommitdiffstats
path: root/pym/portage/proxy
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 /pym/portage/proxy
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 'pym/portage/proxy')
-rw-r--r--pym/portage/proxy/lazyimport.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/proxy/lazyimport.py b/pym/portage/proxy/lazyimport.py
index 77e80e02e..62428543e 100644
--- a/pym/portage/proxy/lazyimport.py
+++ b/pym/portage/proxy/lazyimport.py
@@ -137,7 +137,7 @@ def lazyimport(scope, *args):
components = name.split('.')
parent_scope = scope
- for i in xrange(len(components)):
+ for i in range(len(components)):
alias = components[i]
if i < len(components) - 1:
parent_name = ".".join(components[:i+1])