[Python-checkins] r73822 - python/trunk/Lib/xmlrpclib.py

kristjan.jonsson python-checkins at python.org
Sat Jul 4 01:29:50 CEST 2009


Author: kristjan.jonsson
Date: Sat Jul  4 01:29:50 2009
New Revision: 73822

Log:
http://bugs.python.org/issue6267
Incorrect exception handling for xmlrpc client retry

Modified:
   python/trunk/Lib/xmlrpclib.py

Modified: python/trunk/Lib/xmlrpclib.py
==============================================================================
--- python/trunk/Lib/xmlrpclib.py	(original)
+++ python/trunk/Lib/xmlrpclib.py	Sat Jul  4 01:29:50 2009
@@ -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
 


More information about the Python-checkins mailing list