From 0f85d581b5bdc4fefbaca38e3a5fa3318ee72abe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Wed, 22 Dec 2010 13:05:53 +0000
Subject: [PATCH] don't set a global timeout

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41657 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/Tool/ContributionTool.py | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/product/ERP5/Tool/ContributionTool.py b/product/ERP5/Tool/ContributionTool.py
index 107f46eb8c..a591ef1337 100644
--- a/product/ERP5/Tool/ContributionTool.py
+++ b/product/ERP5/Tool/ContributionTool.py
@@ -52,10 +52,6 @@ import ContributionOpener
 opener = urllib2.build_opener(ContributionOpener.DirectoryFileHandler)
 urllib2.install_opener(opener)
 
-# A temporary hack until urllib2 supports timeout setting - XXX
-import socket
-socket.setdefaulttimeout(600) # 1 minute timeout
-
 # Global parameters
 TEMP_NEW_OBJECT_KEY = '_v_new_object'
 MAX_REPEAT = 10
-- 
2.30.9