[Zope-Checkins] CVS: Zope/lib/python/ZServer/medusa/test - max_sockets.py:1.6.8.1

Chris McDonough chrism@zope.com
Mon, 21 Jul 2003 12:39:13 -0400


Update of /cvs-repository/Zope/lib/python/ZServer/medusa/test
In directory cvs.zope.org:/tmp/cvs-serv17213/lib/python/ZServer/medusa/test

Modified Files:
      Tag: Zope-2_7-branch
	max_sockets.py 
Log Message:
Merge changes from HEAD since the release of Zope 2.7a1 into the Zope-2_7-branch in preparation for release of Zope 2.7b1.


=== Zope/lib/python/ZServer/medusa/test/max_sockets.py 1.6 => 1.6.8.1 ===
--- Zope/lib/python/ZServer/medusa/test/max_sockets.py:1.6	Tue Mar 18 16:16:49 2003
+++ Zope/lib/python/ZServer/medusa/test/max_sockets.py	Mon Jul 21 12:37:38 2003
@@ -50,7 +50,7 @@
     while 1:
         try:
             num = len(sl)
-            for i in range(1 + len(sl) * 0.05):
+            for i in range(1 + int(len(sl) * 0.05)):
                     # Increase exponentially.
                 s = socket.socket (socket.AF_INET, socket.SOCK_STREAM)
                 s.bind (('',0))