Bug #233103 - In portage.fetch(), pass all config variables instead of just
authorZac Medico <zmedico@gentoo.org>
Mon, 28 Jul 2008 20:00:40 +0000 (20:00 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 28 Jul 2008 20:00:40 +0000 (20:00 -0000)
those returned by the environ() method which is filtered.

svn path=/main/trunk/; revision=11245

pym/portage/__init__.py

index 34da6c22a52dbe28bcf6a7027500e5c4c086db53..cd065d25dfac9b781c842f569d031e754dfb7caa 100644 (file)
@@ -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)