switched the call order so this call works without suffering from issue #7774

This commit is contained in:
Tarek Ziadé 2010-01-25 23:19:56 +00:00
parent 82230f952d
commit ef97caf111
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ _PREFIX = os.path.normpath(sys.prefix)
_EXEC_PREFIX = os.path.normpath(sys.exec_prefix) _EXEC_PREFIX = os.path.normpath(sys.exec_prefix)
_CONFIG_VARS = None _CONFIG_VARS = None
_USER_BASE = 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(): if os.name == "nt" and "pcbuild" in _PROJECT_BASE[-8:].lower():
_PROJECT_BASE = abspath(os.path.join(_PROJECT_BASE, pardir)) _PROJECT_BASE = abspath(os.path.join(_PROJECT_BASE, pardir))