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/tests/ebuild/test_ipc_daemon.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/tests/ebuild/test_ipc_daemon.py')
-rw-r--r-- | pym/portage/tests/ebuild/test_ipc_daemon.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pym/portage/tests/ebuild/test_ipc_daemon.py b/pym/portage/tests/ebuild/test_ipc_daemon.py index de548c6f1..4b7406deb 100644 --- a/pym/portage/tests/ebuild/test_ipc_daemon.py +++ b/pym/portage/tests/ebuild/test_ipc_daemon.py @@ -1,6 +1,7 @@ # Copyright 2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 +import os import shutil import tempfile from portage import os @@ -19,6 +20,7 @@ class IpcDaemonTestCase(TestCase): tmpdir = tempfile.mkdtemp() try: env = {} + env['PORTAGE_PYTHON'] = os.environ['PORTAGE_PYTHON'] env['PORTAGE_BIN_PATH'] = PORTAGE_BIN_PATH env['PORTAGE_PYM_PATH'] = PORTAGE_PYM_PATH env['PORTAGE_BUILDDIR'] = tmpdir |