changeset 30475:ef9f197188ec

httppeer: drop an except block that says it happens only on Python 2.3
author Augie Fackler <augie@google.com>
date Mon, 21 Nov 2016 17:47:11 -0500
parents b02e210a6817
children 8a9681b963a3
files mercurial/httppeer.py
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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):