[pywin32-checkins] pywin32/com/win32com/test policySemantics.py, 1.7, 1.8
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2008-11-27 04:06:00
|
Update of /cvsroot/pywin32/pywin32/com/win32com/test In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv31996/com/win32com/test Modified Files: policySemantics.py Log Message: fix a couple of over-anxious raise modernizations! Index: policySemantics.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/com/win32com/test/policySemantics.py,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** policySemantics.py 27 Nov 2008 03:53:25 -0000 1.7 --- policySemantics.py 27 Nov 2008 04:05:54 -0000 1.8 *************** *** 65,69 **** rc = dispob.Invoke(pythoncom.DISPID_EVALUATE, 0, pythoncom.DISPATCH_METHOD|pythoncom.DISPATCH_PROPERTYGET, 1) if rc != 6: ! raise Error("Evaluate returned").with_traceback(rc) --- 65,69 ---- rc = dispob.Invoke(pythoncom.DISPID_EVALUATE, 0, pythoncom.DISPATCH_METHOD|pythoncom.DISPATCH_PROPERTYGET, 1) if rc != 6: ! raise Error("Evaluate returned %d" % rc) |