mirror of
https://github.com/facebook/sapling.git
synced 2024-10-08 15:57:43 +03:00
httppeer: drop an except block that says it happens only on Python 2.3
This commit is contained in:
parent
ed37e73e5c
commit
05fae84175
@ -169,9 +169,6 @@ class httppeer(wireproto.wirepeer):
|
||||
self.ui.debug('http error while sending %s command\n' % cmd)
|
||||
self.ui.traceback()
|
||||
raise IOError(None, inst)
|
||||
except IndexError:
|
||||
# this only happens with Python 2.3, later versions raise URLError
|
||||
raise error.Abort(_('http error, possibly caused by proxy setting'))
|
||||
# record the url we got redirected to
|
||||
resp_url = resp.geturl()
|
||||
if resp_url.endswith(qs):
|
||||
|
Loading…
Reference in New Issue
Block a user