commit | 20860042617d43ed192d60659cd92c71ea251519 | [log] [tgz] |
---|---|---|
author | Conley Owens <cco3@android.com> | Wed Mar 11 17:25:45 2015 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Wed Mar 11 17:25:45 2015 +0000 |
tree | 9f4e6c6b91e37bd1b254c7383b2796ffd709733b | |
parent | 0402cd882a05b22ddb4d3e10bf816f5165e1e11e [diff] | |
parent | 2338788050bfacb64ebb23381b9874a9a7fde60c [diff] |
Merge "Don't exit with error on HTTP 401 when downloading clone bundle"
diff --git a/repo b/repo index 6338483..f12354a 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 [403, 404]: + if e.code in [401, 403, 404]: return False _print('fatal: Cannot get %s' % url, file=sys.stderr) _print('fatal: HTTP error %s' % e.code, file=sys.stderr)