From be15ba47508bbc237e7d41d3d6fdf2f946e8d0f5 Mon Sep 17 00:00:00 2001 From: Dave Schuyler Date: Fri, 22 Jul 2005 01:53:49 +0000 Subject: [PATCH] removed extra ; --- doc/makepanda/makepanda.py | 2 +- doc/makepanda/maketarball.py | 10 +++++----- doc/makepanda/otherMakePanda.py | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/doc/makepanda/makepanda.py b/doc/makepanda/makepanda.py index 5cd7a4e325..d8afbd1d64 100755 --- a/doc/makepanda/makepanda.py +++ b/doc/makepanda/makepanda.py @@ -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): diff --git a/doc/makepanda/maketarball.py b/doc/makepanda/maketarball.py index 352fc972c1..0a67c16b2e 100755 --- a/doc/makepanda/maketarball.py +++ b/doc/makepanda/maketarball.py @@ -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 diff --git a/doc/makepanda/otherMakePanda.py b/doc/makepanda/otherMakePanda.py index e11ff9cc58..5d1a67572a 100755 --- a/doc/makepanda/otherMakePanda.py +++ b/doc/makepanda/otherMakePanda.py @@ -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):