summaryrefslogtreecommitdiffstats
path: root/Lib/site.py
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2012-06-24 23:47:46 (GMT)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2012-06-24 23:47:46 (GMT)
commit2895244653be4d01ffb510cfa2c12754af6423a9 (patch)
tree2979d9e84276e924afeeb5303d9a89f0eb0782d1 /Lib/site.py
parente51a36922ffcce8c5e45cc88dc95a9d33ead0f11 (diff)
downloadcpython-2895244653be4d01ffb510cfa2c12754af6423a9.zip
cpython-2895244653be4d01ffb510cfa2c12754af6423a9.tar.gz
cpython-2895244653be4d01ffb510cfa2c12754af6423a9.tar.bz2
Closes #15173: Tidied up copyright statements and removed pythonv references.
Diffstat (limited to 'Lib/site.py')
-rw-r--r--Lib/site.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/site.py b/Lib/site.py
index a298f26..a0f98b3 100644
--- a/Lib/site.py
+++ b/Lib/site.py
@@ -499,8 +499,8 @@ def venv(known_paths):
global PREFIXES, ENABLE_USER_SITE
env = os.environ
- if sys.platform == 'darwin' and '__PYTHONV_LAUNCHER__' in env:
- executable = os.environ['__PYTHONV_LAUNCHER__']
+ if sys.platform == 'darwin' and '__PYVENV_LAUNCHER__' in env:
+ executable = os.environ['__PYVENV_LAUNCHER__']
else:
executable = sys.executable
executable_dir, executable_name = os.path.split(executable)