kopia lustrzana https://github.com/micropython/micropython-lib
upip: Treat PyPI redirects as "package not found".
PyPI has got too smart and redirects typos, etc. to a similarly-called packages.pull/70/merge
rodzic
823b743daf
commit
c9337def58
|
@ -129,7 +129,7 @@ def url_open(url):
|
|||
if status != b"200":
|
||||
s.close()
|
||||
exc = ValueError(status)
|
||||
if status == b"404":
|
||||
if status == b"404" or status == b"301":
|
||||
fatal("Package not found", exc)
|
||||
fatal("Unexpected error querying for package", exc)
|
||||
while 1:
|
||||
|
|
Ładowanie…
Reference in New Issue