[pywin32-checkins] pywin32/win32/Lib win32verstamp.py,1.1,1.2
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2005-10-23 11:31:16
|
Update of /cvsroot/pywin32/pywin32/win32/Lib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32744/win32/Lib Modified Files: win32verstamp.py Log Message: Correct error in error handler! Index: win32verstamp.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/win32/Lib/win32verstamp.py,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** win32verstamp.py 15 Sep 2005 23:54:19 -0000 1.1 --- win32verstamp.py 23 Oct 2005 11:31:07 -0000 1.2 *************** *** 123,127 **** vmaj, vmin, vsub, vbuild = bits except (IndexError, TypeError, ValueError): ! parser.error("--version must be a.b.c.d (all integers)") 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 |