From: Zac Medico Date: Mon, 28 Jul 2008 21:55:13 +0000 (-0000) Subject: Make use of the new config.iteritems() method. X-Git-Tag: v2.2_rc5~33 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3f9f5e6d93472fd589e42a71ee0ea6bb892d7438;p=portage.git Make use of the new config.iteritems() method. svn path=/main/trunk/; revision=11251 --- diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index 5d225a44f..b610dbc79 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -3259,7 +3259,7 @@ class BinpkgFetcher(SpawnProcess): "FILE" : os.path.basename(pkg_path) } - fetch_env = dict((k, settings[k]) for k in settings) + fetch_env = dict(settings.iteritems()) fetch_args = [portage.util.varexpand(x, mydict=fcmd_vars) \ for x in shlex.split(fcmd)]