From 305881f35bd5dac1236d7564b10cca0fba8e36e8 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 15 Feb 2010 06:39:58 +0000 Subject: Use config.environ() instead of config.items() when spawning FETCHCOMMAND. svn path=/main/trunk/; revision=15355 --- pym/portage/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pym') 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 -- cgit v1.2.3-1-g7c22