diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-08-15 01:12:11 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-08-15 01:12:11 -0700 |
commit | 31b417292a97b00dc9ce0496296eabb5f75bdffa (patch) | |
tree | f080629cbcf7d56cd038b64e46aec706a8c4a570 | |
parent | 4f0ce00514188aec0bd378b2cfdaaace3828f17b (diff) | |
download | portage-31b417292a97b00dc9ce0496296eabb5f75bdffa.tar.gz portage-31b417292a97b00dc9ce0496296eabb5f75bdffa.tar.bz2 portage-31b417292a97b00dc9ce0496296eabb5f75bdffa.zip |
Make create_trees() pass along PORTAGE_GRPNAME and PORTAGE_USERNAME
to all config instances.
-rw-r--r-- | pym/portage/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index a6760b245..a6534b12d 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -520,7 +520,7 @@ 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', 'TERM'): + for k in ('PATH', 'PORTAGE_GRPNAME', 'PORTAGE_USERNAME', 'TERM'): v = settings.get(k) if v is not None: clean_env[k] = v |