diff options
author | David Pursehouse <david.pursehouse@sonymobile.com> | 2016-04-05 21:39:29 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2016-04-05 21:39:29 +0000 |
commit | e121ad558dac2268bba4eb37528ec5a6a2aa507d (patch) | |
tree | d95410b04f8cad31660248dfb93bf79453606722 | |
parent | 1f0564406ba5aab11b21a83d193485ee6597f213 (diff) | |
parent | d3ddcdbd8aa371993c9b27d1df7edfd22ed038e3 (diff) | |
download | git-repo-e121ad558dac2268bba4eb37528ec5a6a2aa507d.tar.gz |
Merge "Ignore clone.bundle on HTTP 501, i.e. Not Implemented"
-rwxr-xr-x | repo | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |