summaryrefslogtreecommitdiffstats
path: root/abs/core/python_modules/python-requests/certs.patch
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2017-07-16 04:32:11 (GMT)
committerBritney Fransen <brfransen@gmail.com>2017-07-16 04:32:11 (GMT)
commit34677dae9b19cf4c8731b99d41a97ec47c6c795e (patch)
tree3f38a0c2fea8de1d5fd7655fa82c7d8f1ee09a34 /abs/core/python_modules/python-requests/certs.patch
parent6306f7ae1895d7678eac708d86465e6e6cd8e4f0 (diff)
downloadlinhes_pkgbuild-34677dae9b19cf4c8731b99d41a97ec47c6c795e.zip
linhes_pkgbuild-34677dae9b19cf4c8731b99d41a97ec47c6c795e.tar.gz
linhes_pkgbuild-34677dae9b19cf4c8731b99d41a97ec47c6c795e.tar.bz2
python-requests: initial inclusion. dep of flexget
Diffstat (limited to 'abs/core/python_modules/python-requests/certs.patch')
-rw-r--r--abs/core/python_modules/python-requests/certs.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/abs/core/python_modules/python-requests/certs.patch b/abs/core/python_modules/python-requests/certs.patch
new file mode 100644
index 0000000..47a32f3
--- /dev/null
+++ b/abs/core/python_modules/python-requests/certs.patch
@@ -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())