Update of /cvsroot/pywin32/pywin32/Pythonwin/pywin/Demos/ocx
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv12690/Pythonwin/pywin/Demos/ocx
Modified Files:
ocxserialtest.py
Log Message:
Move to 'new style' exception raising.
Index: ocxserialtest.py
===================================================================
RCS file: /cvsroot/pywin32/pywin32/Pythonwin/pywin/Demos/ocx/ocxserialtest.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** ocxserialtest.py 1 Sep 1999 23:33:40 -0000 1.1
--- ocxserialtest.py 1 Oct 2008 14:13:02 -0000 1.2
***************
*** 19,23 ****
win32ui.DoWaitCursor(0)
if serialModule is None:
! raise ImportError, "MS COMM Control does not appear to be installed on the PC"
--- 19,23 ----
win32ui.DoWaitCursor(0)
if serialModule is None:
! raise ImportError("MS COMM Control does not appear to be installed on the PC")
|