diff options
author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2012-06-25 00:47:46 +0100 |
---|---|---|
committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2012-06-25 00:47:46 +0100 |
commit | 2895244653be4d01ffb510cfa2c12754af6423a9 (patch) | |
tree | 2979d9e84276e924afeeb5303d9a89f0eb0782d1 /Lib/site.py | |
parent | e51a36922ffcce8c5e45cc88dc95a9d33ead0f11 (diff) | |
download | cpython-git-2895244653be4d01ffb510cfa2c12754af6423a9.tar.gz |
Closes #15173: Tidied up copyright statements and removed pythonv references.
Diffstat (limited to 'Lib/site.py')
-rw-r--r-- | Lib/site.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/site.py b/Lib/site.py index a298f26a69..a0f98b361b 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) |