http://bugs.python.org/issue6267

Incorrect exception handling for xmlrpc client retry
parent f83648ef
...@@ -1256,7 +1256,7 @@ class Transport: ...@@ -1256,7 +1256,7 @@ class Transport:
except socket.error, e: except socket.error, e:
if i or e.errno not in (errno.ECONNRESET, errno.ECONNABORTED): if i or e.errno not in (errno.ECONNRESET, errno.ECONNABORTED):
raise raise
except http.client.BadStatusLine: #close after we sent request except httplib.BadStatusLine: #close after we sent request
if i: if i:
raise raise
......
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