pypi.python.org -> pypi.org (GH-7613)

This commit is contained in:
Ned Deily 2018-06-11 00:45:50 -04:00 committed by GitHub
parent 12c6cdf4d1
commit 9d6d06e806
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 6 additions and 6 deletions

View file

@ -14,7 +14,7 @@ def main():
for project, version in ensurepip._PROJECTS:
data = json.loads(urllib.request.urlopen(
"https://pypi.python.org/pypi/{}/json".format(project),
"https://pypi.org/pypi/{}/json".format(project),
cadefault=True,
).read().decode("utf8"))
upstream_version = data["info"]["version"]