Commit 57bf0b99 authored by Jason R. Coombs's avatar Jason R. Coombs

Use dict lookup default for sys_executable

parent 8a94f99b
......@@ -53,10 +53,8 @@ from pkg_resources import (
VersionConflict, DEVELOP_DIST,
)
if '__VENV_LAUNCHER__' in os.environ:
sys_executable = os.environ['__VENV_LAUNCHER__']
else:
sys_executable = os.path.normpath(sys.executable)
sys_executable = os.environ.get('__VENV_LAUNCHER__',
os.path.normpath(sys.executable))
__all__ = [
'samefile', 'easy_install', 'PthDistributions', 'extract_wininst_cfg',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment