summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-11-25 00:26:52 -0800
committerZac Medico <zmedico@gentoo.org>2010-11-25 00:26:52 -0800
commit1530b3ae365005c40afe0a08860641b1d4b53c92 (patch)
treeab701f335d57792cf186b944ab5851052acde1a6
parent154aa71455be8564134d14167f839eb9fdc8160f (diff)
downloadportage-1530b3ae365005c40afe0a08860641b1d4b53c92.tar.gz
portage-1530b3ae365005c40afe0a08860641b1d4b53c92.tar.bz2
portage-1530b3ae365005c40afe0a08860641b1d4b53c92.zip
create_trees: propagate proxy vars to host ROOT
-rw-r--r--pym/portage/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py
index 1e6f21b22..17d216c02 100644
--- a/pym/portage/__init__.py
+++ b/pym/portage/__init__.py
@@ -517,7 +517,8 @@ def create_trees(config_root=None, target_root=None, trees=None):
# environment to apply to the config that's associated
# with ROOT != "/", so pass a nearly empty dict for the env parameter.
clean_env = {}
- for k in ('PATH', 'PORTAGE_GRPNAME', 'PORTAGE_USERNAME', 'TERM'):
+ for k in ('PATH', 'PORTAGE_GRPNAME', 'PORTAGE_USERNAME', 'TERM',
+ 'ftp_proxy', 'http_proxy', 'no_proxy'):
v = settings.get(k)
if v is not None:
clean_env[k] = v