[pywin32-checkins] pywin32/win32/scripts/VersionStamp bulkstamp.py, 1.9, 1.10
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2008-12-11 05:13:14
|
Update of /cvsroot/pywin32/pywin32/win32/scripts/VersionStamp In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv28610/win32/scripts/VersionStamp Modified Files: bulkstamp.py Log Message: Move to exception attributes Index: bulkstamp.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/win32/scripts/VersionStamp/bulkstamp.py,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** bulkstamp.py 4 Dec 2008 03:38:20 -0000 1.9 --- bulkstamp.py 11 Dec 2008 05:13:07 -0000 1.10 *************** *** 64,69 **** verstamp.stamp(vars, pathname, desc, is_dll=is_dll) numStamped = numStamped + 1 ! except win32api.error, (hr, func, desc): ! print "Could not stamp", pathname, "Error", hr, "-", desc else: print 'WARNING: description not provided for:', name --- 64,69 ---- verstamp.stamp(vars, pathname, desc, is_dll=is_dll) numStamped = numStamped + 1 ! except win32api.error, exc: ! print "Could not stamp", pathname, "Error", exc.winerror, "-", exc.strerror else: print 'WARNING: description not provided for:', name |