Merge pull request #29 from ercpe/pypi-https

Use HTTPS for pypi's http api
This commit is contained in:
Corentin Chary 2016-10-15 16:31:07 +02:00 committed by GitHub
commit 2fedc7450d

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: