Commit 471d7e6e authored by Hanno Schlichting's avatar Hanno Schlichting

Added more minimal socket timeout handling

parent 4a79eab6
...@@ -6,6 +6,10 @@ def main(): ...@@ -6,6 +6,10 @@ def main():
from pkg_resources import parse_requirements from pkg_resources import parse_requirements
from setuptools.package_index import PackageIndex 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') ws = pkg_resources.require('Zope2')
pi = PackageIndex() pi = PackageIndex()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment