diff options
-rwxr-xr-x | repo | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -428,7 +428,7 @@ def _DownloadBundle(url, local, quiet): | |||
428 | try: | 428 | try: |
429 | r = urllib.request.urlopen(url) | 429 | r = urllib.request.urlopen(url) |
430 | except urllib.error.HTTPError as e: | 430 | except urllib.error.HTTPError as e: |
431 | if e.code == 404: | 431 | if e.code in [403, 404]: |
432 | return False | 432 | return False |
433 | print('fatal: Cannot get %s' % url, file=sys.stderr) | 433 | print('fatal: Cannot get %s' % url, file=sys.stderr) |
434 | print('fatal: HTTP error %s' % e.code, file=sys.stderr) | 434 | print('fatal: HTTP error %s' % e.code, file=sys.stderr) |