Use HTTPS for pypi's http api

pypi started to refuse plain http connections to it's api.
This commit is contained in:
Johann Schmitz 2016-06-19 06:12:27 +02:00
parent 2d70845115
commit 96f025f5fc
No known key found for this signature in database
GPG Key ID: A084064277C501ED
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ def scan_pkg(pkg, options):
output.einfo("Using PyPi XMLRPC: " + package)
client = xmlrpclib.ServerProxy('http://pypi.python.org/pypi')
client = xmlrpclib.ServerProxy('https://pypi.python.org/pypi')
versions = client.package_releases(package)
if not versions: