[pywin32-checkins] pywin32/win32/scripts/VersionStamp vssutil.py, 1.1, 1.2
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2008-11-26 08:56:40
|
Update of /cvsroot/pywin32/pywin32/win32/scripts/VersionStamp In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv19784/scripts/VersionStamp Modified Files: vssutil.py Log Message: modernize syntax: all remaining raise statements in win32/* upgraded Index: vssutil.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/win32/scripts/VersionStamp/vssutil.py,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** vssutil.py 2 Sep 1999 00:19:34 -0000 1.1 --- vssutil.py 26 Nov 2008 08:56:33 -0000 1.2 *************** *** 91,95 **** import win32api if win32api.GetFullPathName(inName)==win32api.GetFullPathName(outName): ! raise RuntimeError, "The input and output filenames can not be the same" sourceSafe=GetSS() project = sourceSafe.VSSItem(projectName) --- 91,95 ---- import win32api if win32api.GetFullPathName(inName)==win32api.GetFullPathName(outName): ! raise RuntimeError("The input and output filenames can not be the same") sourceSafe=GetSS() project = sourceSafe.VSSItem(projectName) *************** *** 150,154 **** buildNo = str(buildNo) except ValueError: ! raise error, "The previous label could not be incremented: %s" % (oldBuild) if not auto: --- 150,154 ---- buildNo = str(buildNo) except ValueError: ! raise error("The previous label could not be incremented: %s" % (oldBuild)) if not auto: |