diff options
author | Zac Medico <zmedico@gentoo.org> | 2011-01-02 16:15:45 -0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2011-01-02 16:15:45 -0800 |
commit | 9cd988b0dc45ac87b3dd37203755a89f4752514f (patch) | |
tree | a5cd1a2294375bedab4f0c088327f9caee366f31 /pym/portage | |
parent | c0c0e6400f7dedf286880e24a34e75512ee0e02c (diff) | |
download | portage-9cd988b0dc45ac87b3dd37203755a89f4752514f.tar.gz portage-9cd988b0dc45ac87b3dd37203755a89f4752514f.tar.bz2 portage-9cd988b0dc45ac87b3dd37203755a89f4752514f.zip |
create_trees: whitelist SSH_AGENT_PID/AUTH_SOCKv2.2.0_alpha12
This variables can be used for fetching from binhost.
Diffstat (limited to 'pym/portage')
-rw-r--r-- | pym/portage/__init__.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index 4731db506..374d077f1 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', + 'SSH_AGENT_PID', 'SSH_AUTH_SOCK', 'TERM', 'ftp_proxy', 'http_proxy', 'no_proxy'): v = settings.get(k) if v is not None: |