summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-02-15 06:39:58 +0000
committerZac Medico <zmedico@gentoo.org>2010-02-15 06:39:58 +0000
commit305881f35bd5dac1236d7564b10cca0fba8e36e8 (patch)
tree917861cf15fd37a28201dfb2786deabf703a57d2
parentf5cae350c6bfc5593503dafdd24b653d64f08336 (diff)
downloadportage-305881f35bd5dac1236d7564b10cca0fba8e36e8.tar.gz
portage-305881f35bd5dac1236d7564b10cca0fba8e36e8.tar.bz2
portage-305881f35bd5dac1236d7564b10cca0fba8e36e8.zip
Use config.environ() instead of config.items() when spawning FETCHCOMMAND.
svn path=/main/trunk/; revision=15355
-rw-r--r--pym/portage/__init__.py2
1 files changed, 1 insertions, 1 deletions
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