[Checkins] SVN: Zope/trunk/inst/checknew.py Added more minimal socket timeout handling

Hanno Schlichting hannosch at hannosch.eu
Tue Jun 30 18:38:40 EDT 2009


Log message for revision 101363:
  Added more minimal socket timeout handling
  

Changed:
  U   Zope/trunk/inst/checknew.py

-=-
Modified: Zope/trunk/inst/checknew.py
===================================================================
--- Zope/trunk/inst/checknew.py	2009-06-30 20:08:57 UTC (rev 101362)
+++ Zope/trunk/inst/checknew.py	2009-06-30 22:38:40 UTC (rev 101363)
@@ -6,6 +6,10 @@
     from pkg_resources import parse_requirements
     from setuptools.package_index import PackageIndex
 
+    import socket
+    print 'Setting socket time out to %d seconds' % 3
+    socket.setdefaulttimeout(3)
+
     ws = pkg_resources.require('Zope2')
     pi = PackageIndex()
 



More information about the Checkins mailing list