From: Zac Medico Date: Tue, 2 Mar 2010 20:20:05 +0000 (-0000) Subject: Use config.environ() instead of config.items() when spawning FETCHCOMMAND. X-Git-Tag: v2.1.8~140 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=e1d51dd93e643817064f4de26ef8c41a386c8a79;p=portage.git Use config.environ() instead of config.items() when spawning FETCHCOMMAND. (trunk r15355) svn path=/main/branches/2.1.7/; revision=15582 --- diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index 1afb46ba0..f753670cc 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