desktop/python-requests/certs.patch

15 lines
468 B
Diff
Raw Normal View History

2014-09-07 02:06:09 +08:00
diff --git a/requests/certs.py b/requests/certs.py
2017-11-01 06:04:26 +08:00
index d1a378d7..4e0bffd4 100644
2014-09-07 02:06:09 +08:00
--- a/requests/certs.py
+++ b/requests/certs.py
2017-11-01 06:04:26 +08:00
@@ -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"
2014-09-07 02:06:09 +08:00
if __name__ == '__main__':
print(where())