Closes #15173: Tidied up copyright statements and removed pythonv references.

This commit is contained in:
Vinay Sajip 2012-06-25 00:47:46 +01:00
parent e51a36922f
commit 2895244653
4 changed files with 14 additions and 14 deletions

View file

@ -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)