aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorentin Chary <corentin.chary@gmail.com>2016-10-15 16:31:07 +0200
committerGitHub <noreply@github.com>2016-10-15 16:31:07 +0200
commit2fedc7450da3b5266772c521ad5112cf792e2d00 (patch)
tree617047e7249bf60a940626cf2602a235cefdebf9
parenteuscan/handlers/pypi: fix scan_url() (diff)
parentUse HTTPS for pypi's http api (diff)
downloadeuscan-master.tar.gz
euscan-master.tar.bz2
euscan-master.zip
Merge pull request #29 from ercpe/pypi-httpsHEADmaster
Use HTTPS for pypi's http api
-rw-r--r--pym/euscan/handlers/pypi.py2
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: