diff options
-rwxr-xr-x | repo | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -462,7 +462,7 @@ def _DownloadBundle(url, local, quiet): | |||
462 | try: | 462 | try: |
463 | r = urllib.request.urlopen(url) | 463 | r = urllib.request.urlopen(url) |
464 | except urllib.error.HTTPError as e: | 464 | except urllib.error.HTTPError as e: |
465 | if e.code in [403, 404]: | 465 | if e.code in [401, 403, 404]: |
466 | return False | 466 | return False |
467 | _print('fatal: Cannot get %s' % url, file=sys.stderr) | 467 | _print('fatal: Cannot get %s' % url, file=sys.stderr) |
468 | _print('fatal: HTTP error %s' % e.code, file=sys.stderr) | 468 | _print('fatal: HTTP error %s' % e.code, file=sys.stderr) |