removed extra ;

This commit is contained in:
Dave Schuyler 2005-07-22 01:53:49 +00:00
parent 8997069d51
commit be15ba4750
3 changed files with 7 additions and 7 deletions

View File

@ -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):

View File

@ -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

View File

@ -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):