[Python-modules-commits] [python-pyld] 107/276: Use certificates file instead of path.

Wolfgang Borgert debacle at moszumanska.debian.org
Wed Oct 8 23:47:59 UTC 2014


This is an automated email from the git hooks/post-receive script.

debacle pushed a commit to branch master
in repository python-pyld.

commit d0667edf2e628544d9cb7aecd297a07775560ac3
Author: Dave Longley <dlongley at digitalbazaar.com>
Date:   Thu Apr 4 03:07:52 2013 -0400

    Use certificates file instead of path.
---
 lib/pyld/jsonld.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/pyld/jsonld.py b/lib/pyld/jsonld.py
index 57ccb88..23c2bf4 100644
--- a/lib/pyld/jsonld.py
+++ b/lib/pyld/jsonld.py
@@ -4277,5 +4277,5 @@ class VerifiedHTTPSHandler(urllib2.HTTPSHandler):
 
 # the path to the system's default trusted root SSL certificates
 _trust_root_certificates = None
-if os.path.exists('/etc/ssl/certs'):
-    _trust_root_certificates = '/etc/ssl/certs'
+if os.path.exists('/etc/ssl/certs/ca-certificates.crt'):
+    _trust_root_certificates = '/etc/ssl/certs/ca-certificates.crt'

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-pyld.git



More information about the Python-modules-commits mailing list