From e1d51dd93e643817064f4de26ef8c41a386c8a79 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 2 Mar 2010 20:20:05 +0000 Subject: [PATCH] Use config.environ() instead of config.items() when spawning FETCHCOMMAND. (trunk r15355) svn path=/main/branches/2.1.7/; revision=15582 --- pym/portage/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.26.2