Projects
Kolab:Winterfell
python-setuptools
distribute-timeout-exception.patch
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File distribute-timeout-exception.patch of Package python-setuptools
Index: distribute-0.6.27/setuptools/tests/server.py =================================================================== --- distribute-0.6.27.orig/setuptools/tests/server.py +++ distribute-0.6.27/setuptools/tests/server.py @@ -1,6 +1,7 @@ """Basic http server for tests to simulate PyPI or custom indexes """ import urllib2 +import socket import sys import threading import BaseHTTPServer @@ -44,7 +45,7 @@ class IndexServer(HTTPServer): urllib2.urlopen(url, timeout=5) else: urllib2.urlopen(url) - except urllib2.URLError: + except (urllib2.URLError, socket.timeout): # ignore any errors; all that's important is the request pass self.thread.join()
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.