mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 16:58:40 -04:00
removed extra ;
This commit is contained in:
parent
8997069d51
commit
be15ba4750
@ -652,7 +652,7 @@ if sys.platform == "win32" and DIRECTXSDK is None:
|
||||
MAYAVERSIONS=[("MAYA5", "SOFTWARE\\Alias|Wavefront\\Maya\\5.0\\Setup\\InstallPath"),
|
||||
("MAYA6", "SOFTWARE\\Alias|Wavefront\\Maya\\6.0\\Setup\\InstallPath"),
|
||||
("MAYA65", "SOFTWARE\\Alias|Wavefront\\Maya\\6.5\\Setup\\InstallPath")
|
||||
];
|
||||
]
|
||||
|
||||
for (ver,key) in MAYAVERSIONS:
|
||||
if (OMIT.count(ver)==0) and (MAYASDK.has_key(ver)==0):
|
||||
|
@ -19,7 +19,7 @@
|
||||
##
|
||||
########################################################################
|
||||
|
||||
import sys,os,time,stat,string,re,getopt,cPickle;
|
||||
import sys,os,time,stat,string,re,getopt,cPickle
|
||||
|
||||
def oscmd(cmd):
|
||||
print cmd
|
||||
@ -30,10 +30,10 @@ def writefile(dest,desiredcontents):
|
||||
print "Generating file: "+dest
|
||||
sys.stdout.flush()
|
||||
try:
|
||||
wfile = open(dest, 'wb');
|
||||
wfile.write(desiredcontents);
|
||||
wfile = open(dest, 'wb')
|
||||
wfile.write(desiredcontents)
|
||||
wfile.close();
|
||||
except: sys.exit("Cannot write to "+dest);
|
||||
except: sys.exit("Cannot write to "+dest)
|
||||
|
||||
########################################################################
|
||||
#
|
||||
@ -92,7 +92,7 @@ elif (len(sys.argv)==1):
|
||||
f = file("dtool/PandaVersion.pp","r")
|
||||
pattern = re.compile('^[ \t]*[#][ \t]*define[ \t]+PANDA_VERSION[ \t]+([0-9]+)[ \t]+([0-9]+)[ \t]+([0-9]+)')
|
||||
for line in f:
|
||||
match = pattern.match(line,0);
|
||||
match = pattern.match(line,0)
|
||||
if (match):
|
||||
VERSION = match.group(1)+"."+match.group(2)+"."+match.group(3)
|
||||
break
|
||||
|
@ -641,7 +641,7 @@ if sys.platform == "win32" and DIRECTXSDK is None:
|
||||
MAYAVERSIONS=[("MAYA5", "SOFTWARE\\Alias|Wavefront\\Maya\\5.0\\Setup\\InstallPath"),
|
||||
("MAYA6", "SOFTWARE\\Alias|Wavefront\\Maya\\6.0\\Setup\\InstallPath"),
|
||||
("MAYA65", "SOFTWARE\\Alias|Wavefront\\Maya\\6.5\\Setup\\InstallPath")
|
||||
];
|
||||
]
|
||||
|
||||
for (ver,key) in MAYAVERSIONS:
|
||||
if (OMIT.count(ver)==0) and (MAYASDK.has_key(ver)==0):
|
||||
|
Loading…
x
Reference in New Issue
Block a user