http://bugs.python.org/issue6267
Incorrect exception handling for xmlrpc client retry
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 @@
             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