Update of /cvsroot/pywin32/pywin32/win32/Lib
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv19784/Lib
Modified Files:
win32verstamp.py
Log Message:
modernize syntax: all remaining raise statements in win32/* upgraded
Index: win32verstamp.py
===================================================================
RCS file: /cvsroot/pywin32/pywin32/win32/Lib/win32verstamp.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** win32verstamp.py 23 Oct 2005 11:31:07 -0000 1.2
--- win32verstamp.py 26 Nov 2008 08:56:33 -0000 1.3
***************
*** 123,127 ****
vmaj, vmin, vsub, vbuild = bits
except (IndexError, TypeError, ValueError):
! raise ValueError, "--version must be a.b.c.d (all integers) - got %r" % ver
ifn = options.internal_name
--- 123,127 ----
vmaj, vmin, vsub, vbuild = bits
except (IndexError, TypeError, ValueError):
! raise ValueError("--version must be a.b.c.d (all integers) - got %r" % ver)
ifn = options.internal_name
|