Show More
@@ -484,9 +484,9 b' class GitRemote(RemoteBase):' | |||
|
484 | 484 | q = {"service": 'git-upload-pack'} |
|
485 | 485 | qs = f'?{urllib.parse.urlencode(q)}' |
|
486 | 486 | cu = f"{test_uri}{qs}" |
|
487 | req = urllib.request.Request(cu, None, {}) | |
|
488 | 487 | |
|
489 | 488 | try: |
|
489 | req = urllib.request.Request(cu, None, {}) | |
|
490 | 490 | log.debug("Trying to open URL %s", obfuscated_uri) |
|
491 | 491 | resp = o.open(req) |
|
492 | 492 | if resp.code != 200: |
@@ -501,9 +501,9 b' class HgRemote(RemoteBase):' | |||
|
501 | 501 | q.update({'pairs': "{}-{}".format('0' * 40, '0' * 40)}) |
|
502 | 502 | qs = f'?{urllib.parse.urlencode(q)}' |
|
503 | 503 | cu = f"{test_uri}{qs}" |
|
504 | req = urllib.request.Request(cu, None, {}) | |
|
505 | 504 | |
|
506 | 505 | try: |
|
506 | req = urllib.request.Request(cu, None, {}) | |
|
507 | 507 | log.debug("Trying to open URL %s", obfuscated_uri) |
|
508 | 508 | resp = o.open(req) |
|
509 | 509 | if resp.code != 200: |
General Comments 0
You need to be logged in to leave comments.
Login now