Incorrect exception handling for xmlrpc client retry
This commit is contained in:
Kristján Valur Jónsson 2009-07-03 23:29:50 +00:00
parent f83648ef48
commit e5445da631
1 changed files with 1 additions and 1 deletions

View 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