]> git.pld-linux.org Git - packages/python3-requests.git/blob - 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
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"
11  
12  if __name__ == '__main__':
13      print(where())
This page took 0.03102 seconds and 3 git commands to generate.