]> granicus.if.org Git - python/commitdiff
http://bugs.python.org/issue6267
authorKristján Valur Jónsson <kristjan@ccpgames.com>
Fri, 3 Jul 2009 23:29:50 +0000 (23:29 +0000)
committerKristján Valur Jónsson <kristjan@ccpgames.com>
Fri, 3 Jul 2009 23:29:50 +0000 (23:29 +0000)
Incorrect exception handling for xmlrpc client retry

Lib/xmlrpclib.py

index da3fb5a91ccc852ba583e30c58f83dc8e238195f..a712a6445388b386077b264ff0a2f85b0a1470db 100644 (file)
@@ -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