diff options
author | Kristján Valur Jónsson <kristjan@ccpgames.com> | 2009-07-03 23:29:50 +0000 |
---|---|---|
committer | Kristján Valur Jónsson <kristjan@ccpgames.com> | 2009-07-03 23:29:50 +0000 |
commit | e5445da6318d35be797e0b52d666aed2382daab1 (patch) | |
tree | a0709c0537b18b3f83dfacfb4bf0b67a7b646b9d | |
parent | f83648ef48ebe93f43e041a808e705adffbf30b2 (diff) | |
download | cpython-git-e5445da6318d35be797e0b52d666aed2382daab1.tar.gz |
http://bugs.python.org/issue6267
Incorrect exception handling for xmlrpc client retry
-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 da3fb5a91c..a712a64453 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 |