Use HTTPS for pypi's http api
pypi started to refuse plain http connections to it's api.
This commit is contained in:
parent
2d70845115
commit
96f025f5fc
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user