diff options
author | Johann Schmitz <johann@j-schmitz.net> | 2016-06-19 06:12:27 +0200 |
---|---|---|
committer | Johann Schmitz <johann@j-schmitz.net> | 2016-06-19 06:12:27 +0200 |
commit | 96f025f5fcf7fd02c8e043e327fc2d792e9cba13 (patch) | |
tree | 617047e7249bf60a940626cf2602a235cefdebf9 /pym/euscan | |
parent | euscan/handlers/pypi: fix scan_url() (diff) | |
download | euscan-96f025f5fcf7fd02c8e043e327fc2d792e9cba13.tar.gz euscan-96f025f5fcf7fd02c8e043e327fc2d792e9cba13.tar.bz2 euscan-96f025f5fcf7fd02c8e043e327fc2d792e9cba13.zip |
Use HTTPS for pypi's http api
pypi started to refuse plain http connections to it's api.
Diffstat (limited to 'pym/euscan')
-rw-r--r-- | pym/euscan/handlers/pypi.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/euscan/handlers/pypi.py b/pym/euscan/handlers/pypi.py index c07c7eb..f205bfa 100644 --- a/pym/euscan/handlers/pypi.py +++ b/pym/euscan/handlers/pypi.py @@ -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: |