summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-07-28 20:00:40 +0000
committerZac Medico <zmedico@gentoo.org>2008-07-28 20:00:40 +0000
commit68452f0261defd314d38b6188b38b3257d45ce55 (patch)
tree64ccc743c2d91664d4f4e66f633c54174d0e0048
parentb2930c3b16d71c6e992377764d5a8db78010de68 (diff)
downloadportage-68452f0261defd314d38b6188b38b3257d45ce55.tar.gz
portage-68452f0261defd314d38b6188b38b3257d45ce55.tar.bz2
portage-68452f0261defd314d38b6188b38b3257d45ce55.zip
Bug #233103 - In portage.fetch(), pass all config variables instead of just
those returned by the environ() method which is filtered. svn path=/main/trunk/; revision=11245
-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 34da6c22a..cd065d25d 100644
--- a/pym/portage/__init__.py
+++ b/pym/portage/__init__.py
@@ -3848,7 +3848,7 @@ def fetch(myuris, mysettings, listonly=0, fetchonly=0, locks_in_subdir=".locks",
myfetch = ["bash", "-c", "exec \"$@\"", myfetch[0]] + myfetch
myret = portage.process.spawn(myfetch,
- env=mysettings.environ(), **spawn_keywords)
+ env=dict(mysettings.iteritems()), **spawn_keywords)
if mysettings.selinux_enabled():
selinux.setexec(None)