[Zope-CVS] CVS: Packages/WebsiteLoadTest/bin - rp_server.py:1.4 rpsh.py:1.5

Jens Vagelpohl jens at dataflake.org
Wed Feb 23 09:06:24 EST 2005


Update of /cvs-repository/Packages/WebsiteLoadTest/bin
In directory cvs.zope.org:/tmp/cvs-serv32676/bin

Modified Files:
	rp_server.py rpsh.py 
Log Message:
- timeoutsocket no longer needed for python2.3


=== Packages/WebsiteLoadTest/bin/rp_server.py 1.3 => 1.4 ===
--- Packages/WebsiteLoadTest/bin/rp_server.py:1.3	Mon Feb 25 13:45:41 2002
+++ Packages/WebsiteLoadTest/bin/rp_server.py	Wed Feb 23 09:05:53 2005
@@ -21,8 +21,8 @@
 import os,sys,threading,getopt,Queue
 import time,traceback
 import ConfigParser
-from websiteloadtest.common import timeoutsocket
-timeoutsocket.setDefaultSocketTimeout(10)
+import socket
+socket.setdefaulttimeout(10)
 
 
 # prepare Globals module


=== Packages/WebsiteLoadTest/bin/rpsh.py 1.4 => 1.5 ===
--- Packages/WebsiteLoadTest/bin/rpsh.py:1.4	Tue Feb 26 09:56:21 2002
+++ Packages/WebsiteLoadTest/bin/rpsh.py	Wed Feb 23 09:05:53 2005
@@ -17,11 +17,10 @@
 
 __version__ = "$Id$"
 
-import os,sys,getopt,atexit,traceback
+import os,sys,getopt,atexit,traceback, socket
 import ConfigParser
 
-from websiteloadtest.common import timeoutsocket
-timeoutsocket.setDefaultSocketTimeout(2)
+socket.setdefaulttimeout(2)
 from websiteloadtest.xmlrpclib import xmlrpclib
 
 CONFIG = ConfigParser.ConfigParser()



More information about the Zope-CVS mailing list