1
0
Fork 0

swap sequence, so the exception gets thrown later.

This commit is contained in:
Wilfried Goesgens 2016-02-22 14:06:40 +01:00
parent 0a0aa11b42
commit 137b82409c
1 changed files with 1 additions and 1 deletions

View File

@ -9,9 +9,9 @@ import os.path
# TODO(mark): sys.path manipulation is some temporary testing stuff.
try:
import gyp
sys.path.append(os.path.join(os.path.dirname(sys.argv[0]), '..'))
os.environ['PYTHON_EXECUTABLE'] = sys.executable
import gyp
except ImportError, e:
sys.path.append(os.path.join(os.path.dirname(sys.argv[0]), 'pylib'))
import gyp