summaryrefslogtreecommitdiffstats
path: root/bin/repoman
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-09-21 11:49:13 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-09-21 11:49:13 +0000
commitdbe76c6a138288980772d9b4a42280903df2daa9 (patch)
tree72e9cf2b33968aea863dd5fd08eb0098ab2eb089 /bin/repoman
parente331119e79505f7e1ccded7c3d81fe612d60cb3d (diff)
downloadportage-dbe76c6a138288980772d9b4a42280903df2daa9.tar.gz
portage-dbe76c6a138288980772d9b4a42280903df2daa9.tar.bz2
portage-dbe76c6a138288980772d9b4a42280903df2daa9.zip
Use filter() and zip() instead of itertools.ifilter() and itertools.izip() for compatibility with Python 3.
(2to3-3.1 -f itertools -f itertools_imports -nw ${FILES}) svn path=/main/trunk/; revision=14314
Diffstat (limited to 'bin/repoman')
-rwxr-xr-xbin/repoman4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/repoman b/bin/repoman
index 613e1ec14..330250258 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -27,7 +27,7 @@ import time
import platform
from io import StringIO
-from itertools import chain, izip
+from itertools import chain
from stat import S_ISDIR, ST_CTIME
if not hasattr(__builtins__, "set"):
@@ -947,7 +947,7 @@ for x in scanlist:
ebuildlist.append(pf)
cpv = "%s/%s" % (catdir, pf)
try:
- myaux = dict(izip(allvars, portdb.aux_get(cpv, allvars)))
+ myaux = dict(zip(allvars, portdb.aux_get(cpv, allvars)))
except KeyError:
stats["ebuild.syntax"] += 1
fails["ebuild.syntax"].append(os.path.join(x, y))