From e5445da6318d35be797e0b52d666aed2382daab1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kristj=C3=A1n=20Valur=20J=C3=B3nsson?= Date: Fri, 3 Jul 2009 23:29:50 +0000 Subject: [PATCH] http://bugs.python.org/issue6267 Incorrect exception handling for xmlrpc client retry --- Lib/xmlrpclib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.50.1