mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
Fixed a missing sys.exit
This commit is contained in:
parent
04dae67b6e
commit
fba37e607b
@ -915,7 +915,7 @@ srcdir1 = os.path.join(__path__[0], 'src')
|
|||||||
srcdir2 = os.path.join(__path__[0], '..', '..', 'direct', 'src')
|
srcdir2 = os.path.join(__path__[0], '..', '..', 'direct', 'src')
|
||||||
if (os.path.isdir(srcdir1)): __path__[0] = srcdir1
|
if (os.path.isdir(srcdir1)): __path__[0] = srcdir1
|
||||||
elif (os.path.isdir(srcdir2)): __path__[0] = srcdir2
|
elif (os.path.isdir(srcdir2)): __path__[0] = srcdir2
|
||||||
else: exit("Cannot find the 'direct' tree")
|
else: sys.exit("Cannot find the 'direct' tree")
|
||||||
"""
|
"""
|
||||||
|
|
||||||
if (PkgSkip("PYTHON")==0):
|
if (PkgSkip("PYTHON")==0):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user