From: Zac Medico Date: Mon, 15 Feb 2010 06:39:58 +0000 (-0000) Subject: Use config.environ() instead of config.items() when spawning FETCHCOMMAND. X-Git-Tag: v2.2_rc63~47 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=305881f35bd5dac1236d7564b10cca0fba8e36e8;p=portage.git Use config.environ() instead of config.items() when spawning FETCHCOMMAND. svn path=/main/trunk/; revision=15355 --- diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index 2c2307bb6..bd32e7f3e 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -4249,7 +4249,7 @@ def _spawn_fetch(settings, args, **kwargs): if args[0] != BASH_BINARY: args = [BASH_BINARY, "-c", "exec \"$@\"", args[0]] + args - rval = spawn_func(args, env=dict(iter(settings.items())), **kwargs) + rval = spawn_func(args, env=settings.environ(), **kwargs) return rval