better exception on bug, thanks Jonathan

This commit is contained in:
mdipierro
2012-06-27 18:02:32 -05:00
parent 31671bb9bd
commit 7e8db95a91
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1 +1 @@
Version 2.00.0 (2012-06-27 17:45:06) dev
Version 2.00.0 (2012-06-27 18:02:29) dev
+1 -1
View File
@@ -1375,7 +1375,7 @@ class Worker(Thread):
except socket.timeout:
raise SocketTimeout("Socket timed out before request.")
except TypeError:
raise SocketTimeout("Socket timed out before request.")
raise SocketClosed("ssl bug caused closer of socket, upgrade to python 2.7")
d = d.strip()