aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/mach_bootstrap.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/mach_bootstrap.py b/python/mach_bootstrap.py
index 2c83c6492e7..80b71a2bfeb 100644
--- a/python/mach_bootstrap.py
+++ b/python/mach_bootstrap.py
@@ -145,7 +145,7 @@ def wptserve_path(is_firefox, topdir, *paths):
def _activate_virtualenv(topdir, is_firefox):
- virtualenv_path = os.path.join(topdir, "python", "_virtualenv")
+ virtualenv_path = os.path.join(topdir, "python", "_virtualenv%d.%d" % (sys.version_info[0], sys.version_info[1]))
check_exec_path = lambda path: path.startswith(virtualenv_path)
python = sys.executable # If there was no python, mach wouldn't have run at all!
if not python: