httppeer: drop an except block that says it happens only on Python 2.3
authorAugie Fackler <augie@google.com>
Mon, 21 Nov 2016 17:47:11 -0500
changeset 30484 ef9f197188ec
parent 30483 b02e210a6817
child 30485 8a9681b963a3
httppeer: drop an except block that says it happens only on Python 2.3
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):