Update of /cvsroot/pywin32/pywin32/com/win32comext/mapi/demos
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv19471/win32comext/mapi/demos
Modified Files:
mapisend.py
Log Message:
modernize syntax: all remaining raise statements in com/* upgraded
Index: mapisend.py
===================================================================
RCS file: /cvsroot/pywin32/pywin32/com/win32comext/mapi/demos/mapisend.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** mapisend.py 24 Sep 2004 04:03:52 -0000 1.2
--- mapisend.py 26 Nov 2008 08:52:32 -0000 1.3
***************
*** 45,49 ****
#check for errors
if mapitags.PROP_TYPE(tag) == mapitags.PT_ERROR:
! raise TypeError,'got PT_ERROR instead of PT_BINARY: %s'%eid
outboxfolder = msgstore.OpenEntry(eid,None,mapi.MAPI_BEST_ACCESS)
--- 45,49 ----
#check for errors
if mapitags.PROP_TYPE(tag) == mapitags.PT_ERROR:
! raise TypeError('got PT_ERROR instead of PT_BINARY: %s'%eid)
outboxfolder = msgstore.OpenEntry(eid,None,mapi.MAPI_BEST_ACCESS)
|