From d3ddcdbd8aa371993c9b27d1df7edfd22ed038e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20T=C3=B6rnblom?= Date: Wed, 12 Aug 2015 20:12:51 +0200 Subject: [PATCH] Ignore clone.bundle on HTTP 501, i.e. Not Implemented Change-Id: I03ee003d3bd5d0684a31bdf7961a55a511dfa0e2 --- repo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repo b/repo index f12354a4..77695651 100755 --- a/repo +++ b/repo @@ -462,7 +462,7 @@ def _DownloadBundle(url, local, quiet): try: r = urllib.request.urlopen(url) except urllib.error.HTTPError as e: - if e.code in [401, 403, 404]: + if e.code in [401, 403, 404, 501]: return False _print('fatal: Cannot get %s' % url, file=sys.stderr) _print('fatal: HTTP error %s' % e.code, file=sys.stderr)