diff options
Diffstat (limited to 'repo')
| -rwxr-xr-x | repo | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -543,7 +543,7 @@ def _DownloadBundle(url, local, quiet): | |||
| 543 | try: | 543 | try: |
| 544 | r = urllib.request.urlopen(url) | 544 | r = urllib.request.urlopen(url) |
| 545 | except urllib.error.HTTPError as e: | 545 | except urllib.error.HTTPError as e: |
| 546 | if e.code in [401, 403, 404]: | 546 | if e.code in [401, 403, 404, 501]: |
| 547 | return False | 547 | return False |
| 548 | _print('fatal: Cannot get %s' % url, file=sys.stderr) | 548 | _print('fatal: Cannot get %s' % url, file=sys.stderr) |
| 549 | _print('fatal: HTTP error %s' % e.code, file=sys.stderr) | 549 | _print('fatal: HTTP error %s' % e.code, file=sys.stderr) |
