From 96f025f5fcf7fd02c8e043e327fc2d792e9cba13 Mon Sep 17 00:00:00 2001 From: Johann Schmitz Date: Sun, 19 Jun 2016 06:12:27 +0200 Subject: [PATCH] Use HTTPS for pypi's http api pypi started to refuse plain http connections to it's api. --- pym/euscan/handlers/pypi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: