diff options
author | Arfrever Frehtes Taifersar Arahesis <Arfrever@Gentoo.Org> | 2010-08-14 00:28:36 +0200 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <Arfrever@Gentoo.Org> | 2010-08-14 00:28:36 +0200 |
commit | 1aca7a6adf643afde027778f1acbde7226dcea72 (patch) | |
tree | fddc8859a1be3657d6e4e71221c8a2e5ec12d628 /pym/portage/__init__.py | |
parent | Setup EBUILD_MASTER_PID at the bottom, for scripts that source (diff) | |
download | portage-1aca7a6adf643afde027778f1acbde7226dcea72.tar.gz portage-1aca7a6adf643afde027778f1acbde7226dcea72.tar.bz2 portage-1aca7a6adf643afde027778f1acbde7226dcea72.zip |
Ensure that all Python processes use the same version of Python.
Diffstat (limited to 'pym/portage/__init__.py')
-rw-r--r-- | pym/portage/__init__.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index a6760b245..fb4c66cb1 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -325,6 +325,8 @@ 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('-', '_') |