# HG changeset patch # User Augie Fackler # Date 1479768431 18000 # Node ID ef9f197188ece9e53820be49cd07245926db211a # Parent b02e210a681771592583ce89a408e4615dd84278 httppeer: drop an except block that says it happens only on Python 2.3 diff -r b02e210a6817 -r ef9f197188ec mercurial/httppeer.py --- a/mercurial/httppeer.py Fri Oct 21 00:03:46 2016 +0900 +++ b/mercurial/httppeer.py Mon Nov 21 17:47:11 2016 -0500 @@ -169,9 +169,6 @@ 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):