Show More
@@ -240,7 +240,8 b' class httprepository(remoterepository):' | |||||
240 | # this only happens with Python 2.3, later versions raise URLError |
|
240 | # this only happens with Python 2.3, later versions raise URLError | |
241 | raise util.Abort(_('http error, possibly caused by proxy setting')) |
|
241 | raise util.Abort(_('http error, possibly caused by proxy setting')) | |
242 | # record the url we got redirected to |
|
242 | # record the url we got redirected to | |
243 |
|
|
243 | if resp.geturl().endswith(qs): | |
|
244 | self._url = resp.geturl()[:-len(qs)] | |||
244 | try: |
|
245 | try: | |
245 | proto = resp.getheader('content-type') |
|
246 | proto = resp.getheader('content-type') | |
246 | except AttributeError: |
|
247 | except AttributeError: |
General Comments 0
You need to be logged in to leave comments.
Login now