Cedric Girard
b2adeb81ac
git-subtree-dir: python2-requests-git git-subtree-mainline:8bb329a79c
git-subtree-split:da1fbb7342
19 lines
606 B
Diff
19 lines
606 B
Diff
--- requests/certs.py.orig 2015-12-04 16:16:33.773055294 +0100
|
|
+++ requests/certs.py 2015-12-04 16:20:30.106729891 +0100
|
|
@@ -11,7 +11,6 @@
|
|
environment, you can change the definition of where() to return a separately
|
|
packaged CA bundle.
|
|
"""
|
|
-import os.path
|
|
|
|
try:
|
|
from certifi import where
|
|
@@ -19,7 +18,7 @@
|
|
def where():
|
|
"""Return the preferred certificate bundle."""
|
|
# vendored bundle inside Requests
|
|
- return os.path.join(os.path.dirname(__file__), 'cacert.pem')
|
|
+ return "/etc/ssl/certs/ca-certificates.crt"
|
|
|
|
if __name__ == '__main__':
|
|
print(where())
|