Merge pull request #29 from ercpe/pypi-https
Use HTTPS for pypi's http api
This commit is contained in:
commit
2fedc7450d
@ -36,7 +36,7 @@ def scan_pkg(pkg, options):
|
|||||||
|
|
||||||
output.einfo("Using PyPi XMLRPC: " + package)
|
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)
|
versions = client.package_releases(package)
|
||||||
|
|
||||||
if not versions:
|
if not versions:
|
||||||
|
Loading…
Reference in New Issue
Block a user