Fix XMLRPC URL after Pypi URL update

A seemingly-trivial change updated the URL for the
XMLRPC Pypi service from https://pypi.python.org/pypi
to https://pypi.org/project, while the XMLRPC service
lives at https://pypi.org/pypi. This resulted in
systematic validation failures.

Change-Id: I97218093a9346a7d84f58136764cce53930ddacb
This commit is contained in:
Thierry Carrez
2018-04-25 14:26:26 +02:00
parent afd13c8d05
commit 7e8f409ebc

View File

@@ -72,7 +72,7 @@ def get_pypi_info(dist_name):
def _get_pypi_roles(dist_name):
client = xmlrpc.client.ServerProxy('https://pypi.org/project')
client = xmlrpc.client.ServerProxy('https://pypi.org/pypi')
LOG.debug('retrieving roles for {!r}'.format(
dist_name))
return client.package_roles(dist_name)