diff options
author | Kristján Valur Jónsson <kristjan@ccpgames.com> | 2009-07-03 23:29:50 (GMT) |
---|---|---|
committer | Kristján Valur Jónsson <kristjan@ccpgames.com> | 2009-07-03 23:29:50 (GMT) |
commit | e5445da6318d35be797e0b52d666aed2382daab1 (patch) | |
tree | a0709c0537b18b3f83dfacfb4bf0b67a7b646b9d /Lib/xmlrpclib.py | |
parent | f83648ef48ebe93f43e041a808e705adffbf30b2 (diff) | |
download | cpython-e5445da6318d35be797e0b52d666aed2382daab1.zip cpython-e5445da6318d35be797e0b52d666aed2382daab1.tar.gz cpython-e5445da6318d35be797e0b52d666aed2382daab1.tar.bz2 |
http://bugs.python.org/issue6267
Incorrect exception handling for xmlrpc client retry
Diffstat (limited to 'Lib/xmlrpclib.py')
-rw-r--r-- | Lib/xmlrpclib.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/xmlrpclib.py b/Lib/xmlrpclib.py index da3fb5a..a712a64 100644 --- a/Lib/xmlrpclib.py +++ b/Lib/xmlrpclib.py @@ -1256,7 +1256,7 @@ class Transport: except socket.error, e: if i or e.errno not in (errno.ECONNRESET, errno.ECONNABORTED): raise - except http.client.BadStatusLine: #close after we sent request + except httplib.BadStatusLine: #close after we sent request if i: raise |