summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrepo2
1 files changed, 1 insertions, 1 deletions
diff --git a/repo b/repo
index 47211742..e5cb8904 100755
--- a/repo
+++ b/repo
@@ -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)