소스 검색

Merge "Ignore clone.bundle on HTTP 501, i.e. Not Implemented"

David Pursehouse 9 년 전
부모
커밋
e121ad558d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      repo

+ 1 - 1
repo

@@ -543,7 +543,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)