projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
154aa71
)
create_trees: propagate proxy vars to host ROOT
author
Zac Medico
<zmedico@gentoo.org>
Thu, 25 Nov 2010 08:26:52 +0000
(
00:26
-0800)
committer
Zac Medico
<zmedico@gentoo.org>
Thu, 25 Nov 2010 08:26:52 +0000
(
00:26
-0800)
pym/portage/__init__.py
patch
|
blob
|
history
diff --git
a/pym/portage/__init__.py
b/pym/portage/__init__.py
index 1e6f21b22657568e82c94c2535f6b1046ff07ca6..17d216c024f35de7a7005a77271c187733f416fb 100644
(file)
--- 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