From: Zac Medico Date: Thu, 25 Nov 2010 08:26:52 +0000 (-0800) Subject: create_trees: propagate proxy vars to host ROOT X-Git-Tag: v2.1.9.25~11 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=544f66bcfad39f64eee1dac4da507f0cb2ff3217;p=portage.git create_trees: propagate proxy vars to host ROOT --- diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index 33ac561d3..743d5e858 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