aboutsummaryrefslogtreecommitdiff
path: root/requests/certs.py
diff options
context:
space:
mode:
authorSVN-Git Migration <python-modules-team@lists.alioth.debian.org>2015-10-08 13:41:26 -0700
committerSVN-Git Migration <python-modules-team@lists.alioth.debian.org>2015-10-08 13:41:26 -0700
commitc6ee35e00c5709435b3a6b664c44fceb70a918c6 (patch)
tree816307f3c7e1c80f1dd49d617e480e95198d9c18 /requests/certs.py
parent9f376f89bdf80a40914218d64cd9cd61b25f449d (diff)
downloadpython-requests-c6ee35e00c5709435b3a6b664c44fceb70a918c6.tar
python-requests-c6ee35e00c5709435b3a6b664c44fceb70a918c6.tar.gz
Imported Upstream version 1.2.0
Diffstat (limited to 'requests/certs.py')
-rw-r--r--requests/certs.py9
1 files changed, 1 insertions, 8 deletions
diff --git a/requests/certs.py b/requests/certs.py
index 8148276..bc00826 100644
--- a/requests/certs.py
+++ b/requests/certs.py
@@ -14,17 +14,10 @@ packaged CA bundle.
import os.path
-certifi = None
-try:
- import certifi
-except ImportError:
- pass
def where():
"""Return the preferred certificate bundle."""
- if certifi:
- return certifi.where()
-
+ # vendored bundle inside Requests
return os.path.join(os.path.dirname(__file__), 'cacert.pem')
if __name__ == '__main__':