diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-08-14 10:01:55 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-08-14 10:01:55 -0700 |
commit | 08210f47637c81748615ab7ae1def130e4d23933 (patch) | |
tree | 7f5cb2895ffb8c577ab4a68e8d7c83723e76c1cb /pym/portage/__init__.py | |
parent | Move 'phase' attribute to AbstractEbuildProcess from subclasses, so (diff) | |
download | portage-08210f47637c81748615ab7ae1def130e4d23933.tar.gz portage-08210f47637c81748615ab7ae1def130e4d23933.tar.bz2 portage-08210f47637c81748615ab7ae1def130e4d23933.zip |
Move PORTAGE_PYTHON setting to doebuild_environment() so that it
doesn't pollute os.environ.
Diffstat (limited to 'pym/portage/__init__.py')
-rw-r--r-- | pym/portage/__init__.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index fb4c66cb1..a6760b245 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -325,8 +325,6 @@ except (ImportError, OSError) as e: # END OF IMPORTS -- END OF IMPORTS -- END OF IMPORTS -- END OF IMPORTS -- END # =========================================================================== -os.environ['PORTAGE_PYTHON'] = sys.executable - def _ensure_default_encoding(): default_encoding = sys.getdefaultencoding().lower().replace('-', '_') |