summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrepo2
1 files changed, 1 insertions, 1 deletions
diff --git a/repo b/repo
index f12354a4..77695651 100755
--- a/repo
+++ b/repo
@@ -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 [401, 403, 404]: 465 if e.code in [401, 403, 404, 501]:
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)