python-requests move to core

This commit is contained in:
IdrisKalp
2019-12-10 19:32:25 +03:00
parent 0165bfc3cc
commit 93683a8963
5 changed files with 200 additions and 0 deletions
@@ -0,0 +1,14 @@
diff --git a/requests/certs.py b/requests/certs.py
index d1a378d7..4e0bffd4 100644
--- a/requests/certs.py
+++ b/requests/certs.py
@@ -12,7 +12,8 @@ If you are packaging Requests, e.g., for a Linux distribution or a managed
environment, you can change the definition of where() to return a separately
packaged CA bundle.
"""
-from certifi import where
+def where():
+ return "/etc/ssl/certs/ca-certificates.crt"
if __name__ == '__main__':
print(where())