commit | 91f011ab0df9e1aa215e39b424c9ce2614bae50e | [log] [tgz] |
---|---|---|
author | David Pursehouse <david.pursehouse@sonymobile.com> | Mon Feb 04 10:58:48 2013 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Mon Feb 04 10:58:48 2013 +0000 |
tree | 15c9c9b087d8502f4b560fd3afff0a74300137fb | |
parent | 57bd7b717ba830753b5c6d82bb84d38047dce637 [diff] | |
parent | 87b9d9b4f2b9540fdd23a2b13af622d04a15269a [diff] |
Merge "Don't exit with error on HTTP 403 when downloading clone bundle"
diff --git a/repo b/repo index ac1eca8..6b374f7 100755 --- a/repo +++ b/repo
@@ -428,7 +428,7 @@ try: r = urllib.request.urlopen(url) except urllib.error.HTTPError as e: - if e.code == 404: + if e.code in [403, 404]: return False print('fatal: Cannot get %s' % url, file=sys.stderr) print('fatal: HTTP error %s' % e.code, file=sys.stderr)