[pywin32-checkins] pywin32/wince/dist UpdateCEInf.py,1.1,1.1.4.1
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2008-11-26 09:03:43
|
Update of /cvsroot/pywin32/pywin32/wince/dist In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv20331/wince/dist Modified Files: Tag: py3k UpdateCEInf.py Log Message: many more upgrades to py3k syntax Index: UpdateCEInf.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/wince/dist/UpdateCEInf.py,v retrieving revision 1.1 retrieving revision 1.1.4.1 diff -C2 -d -r1.1 -r1.1.4.1 *** UpdateCEInf.py 2 Sep 1999 00:29:32 -0000 1.1 --- UpdateCEInf.py 26 Nov 2008 09:03:31 -0000 1.1.4.1 *************** *** 28,32 **** destname = os.path.join(dest, base) if verbose: ! print "Copy", fname,"->", destname shutil.copyfile(fname, destname) ret.append(destname) --- 28,32 ---- destname = os.path.join(dest, base) if verbose: ! print("Copy", fname,"->", destname) shutil.copyfile(fname, destname) ret.append(destname) *************** *** 41,45 **** destname = os.path.join(destdir, base) + "c" if verbose: ! print "Compile", fname,"->", destname py_compile.compile(fname, destname, base) ret.append(destname) --- 41,45 ---- destname = os.path.join(destdir, base) + "c" if verbose: ! print("Compile", fname,"->", destname) py_compile.compile(fname, destname, base) ret.append(destname) *************** *** 106,110 **** fileList = fileLists[setName] except KeyError: ! print "Warning: No files found for file set '%s'" % setName fileList = [] # No files --- 106,110 ---- fileList = fileLists[setName] except KeyError: ! print("Warning: No files found for file set '%s'" % setName) fileList = [] # No files *************** *** 225,230 **** fmap = BuildFileList("FileList.txt") builtFiles = CopyFilesToDist(fmap, ["sh","mips"]) ! except RuntimeError, details: ! print "ERROR:", details sys.exit(1) --- 225,230 ---- fmap = BuildFileList("FileList.txt") builtFiles = CopyFilesToDist(fmap, ["sh","mips"]) ! except RuntimeError as details: ! print("ERROR:", details) sys.exit(1) *************** *** 232,236 **** for l in builtFiles.values(): num = num + len(l) ! print "Copied %d files - updating .inf file..." % num UpdateInf("PythonCE.inf", builtFiles) --- 232,236 ---- for l in builtFiles.values(): num = num + len(l) ! print("Copied %d files - updating .inf file..." % num) UpdateInf("PythonCE.inf", builtFiles) |