Show More
@@ -230,6 +230,9 b' class httprepository(remoterepository):' | |||
|
230 | 230 | self.ui.debug(_('http error while sending %s command\n') % cmd) |
|
231 | 231 | self.ui.print_exc() |
|
232 | 232 | raise IOError(None, inst) |
|
233 | except IndexError: | |
|
234 | # this only happens with Python 2.3, later versions raise URLError | |
|
235 | raise util.Abort(_('http error, possibly caused by proxy setting')) | |
|
233 | 236 | try: |
|
234 | 237 | proto = resp.getheader('content-type') |
|
235 | 238 | except AttributeError: |
General Comments 0
You need to be logged in to leave comments.
Login now