]> git.pld-linux.org Git - packages/python3-requests.git/blame - system-cert.patch
- up to 2.5.0; bundle libraries for now as requests use newer lib than python provide...
[packages/python3-requests.git] / system-cert.patch
CommitLineData
9e57f9c2
AM
1--- requests-2.4.1/requests/certs.py~ 2014-08-19 18:52:58.000000000 +0200
2+++ requests-2.4.1/requests/certs.py 2014-09-24 15:15:55.773227329 +0200
3@@ -18,8 +18,8 @@
4 except ImportError:
5 def where():
6 """Return the preferred certificate bundle."""
7- # vendored bundle inside Requests
8- return os.path.join(os.path.dirname(__file__), 'cacert.pem')
9+ # system certificates from ca-certificates package
10+ return "/etc/certs/ca-certificates.crt"
bd090171
ŁK
11
12 if __name__ == '__main__':
13 print(where())
This page took 0.058805 seconds and 4 git commands to generate.