commit | d3ddcdbd8aa371993c9b27d1df7edfd22ed038e3 | [log] [tgz] |
---|---|---|
author | John Törnblom <john.tornblom@gmail.com> | Wed Aug 12 20:12:51 2015 +0200 |
committer | John Törnblom <john.tornblom@gmail.com> | Wed Aug 12 20:12:51 2015 +0200 |
tree | 7403340f81be9d6a11a525b7e60fe3aa36bf1e5e | |
parent | 2635c0e3b6d0fb7a48d892fe9528197eb13bc98b [diff] |
Ignore clone.bundle on HTTP 501, i.e. Not Implemented Change-Id: I03ee003d3bd5d0684a31bdf7961a55a511dfa0e2
diff --git a/repo b/repo index f12354a..7769565 100755 --- a/repo +++ b/repo
@@ -462,7 +462,7 @@ 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)