[Zope-CVS] CVS: Packages/WebService - TimeoutSocket.py:1.3

Brian Lloyd brian@digicool.com
Mon, 26 Nov 2001 14:42:56 -0500


Update of /cvs-repository/Packages/WebService
In directory cvs.zope.org:/tmp/cvs-serv3625

Modified Files:
	TimeoutSocket.py 
Log Message:
fixed exception nameTimeoutSocket.py

=== Packages/WebService/TimeoutSocket.py 1.2 => 1.3 ===
         if select.select([self.sock], [], [], self.timeout)[0]:
             return self.sock.recv(amt, flags)
-        raise Timeout('socket recv() timeout.')
+        raise TimeoutError('socket recv() timeout.')
 
     buffsize = 4096
     handles = 1