Update of /cvsroot/pywin32/pywin32/win32/Demos/service
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv21342/win32/Demos/service
Modified Files:
pipeTestServiceClient.py
Log Message:
Move to 'new style' exception raising.
Index: pipeTestServiceClient.py
===================================================================
RCS file: /cvsroot/pywin32/pywin32/win32/Demos/service/pipeTestServiceClient.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** pipeTestServiceClient.py 12 Mar 2003 12:44:01 -0000 1.3
--- pipeTestServiceClient.py 1 Oct 2008 14:44:53 -0000 1.4
***************
*** 43,49 ****
continue
else:
! raise win32api.error, (rc, fnerr, msg)
! raise RuntimeError, "Could not make a connection to the server"
def testClient(server,msg):
--- 43,49 ----
continue
else:
! raise win32api.error(rc, fnerr, msg)
! raise RuntimeError("Could not make a connection to the server")
def testClient(server,msg):
|