diff options
author | Tarek Ziadé <ziade.tarek@gmail.com> | 2010-01-25 23:19:56 +0000 |
---|---|---|
committer | Tarek Ziadé <ziade.tarek@gmail.com> | 2010-01-25 23:19:56 +0000 |
commit | ef97caf111a61445a11cfd7573c86f3be09509aa (patch) | |
tree | f96a954e2c337d0474d2f34bfb519cef9a5bcf0c | |
parent | 82230f952dd9d1a7560bd1f41088fbd21ba78632 (diff) | |
download | cpython-git-ef97caf111a61445a11cfd7573c86f3be09509aa.tar.gz |
switched the call order so this call works without suffering from issue #7774
-rw-r--r-- | Lib/sysconfig.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/sysconfig.py b/Lib/sysconfig.py index 60d8ce6a2a..4552959edf 100644 --- a/Lib/sysconfig.py +++ b/Lib/sysconfig.py @@ -84,7 +84,7 @@ _PREFIX = os.path.normpath(sys.prefix) _EXEC_PREFIX = os.path.normpath(sys.exec_prefix) _CONFIG_VARS = None _USER_BASE = None -_PROJECT_BASE = os.path.dirname(abspath(sys.executable)) +_PROJECT_BASE = abspath(os.path.dirname(sys.executable)) if os.name == "nt" and "pcbuild" in _PROJECT_BASE[-8:].lower(): _PROJECT_BASE = abspath(os.path.join(_PROJECT_BASE, pardir)) |