aboutsummaryrefslogtreecommitdiff
path: root/debian/patches/01_use-system-ca-certificates.patch
diff options
context:
space:
mode:
authorThomas Goirand <zigo@debian.org>2013-04-25 23:14:32 +0000
committerThomas Goirand <zigo@debian.org>2013-04-25 23:14:32 +0000
commit785efd32187031a7f593be863706ff26dfe5b390 (patch)
tree28b366ebeb816d52728990eab8b1e5700ec37454 /debian/patches/01_use-system-ca-certificates.patch
parent698b26a6e32fb7622530fb012ec0950beb0fe168 (diff)
downloadpython-requests-785efd32187031a7f593be863706ff26dfe5b390.tar
python-requests-785efd32187031a7f593be863706ff26dfe5b390.tar.gz
* New upstream version.
* Refreshed bowth debian-specific patches.
Diffstat (limited to 'debian/patches/01_use-system-ca-certificates.patch')
-rw-r--r--debian/patches/01_use-system-ca-certificates.patch14
1 files changed, 7 insertions, 7 deletions
diff --git a/debian/patches/01_use-system-ca-certificates.patch b/debian/patches/01_use-system-ca-certificates.patch
index 5fec645..f079c99 100644
--- a/debian/patches/01_use-system-ca-certificates.patch
+++ b/debian/patches/01_use-system-ca-certificates.patch
@@ -4,15 +4,15 @@ Author: Daniele Tricoli <eriol@mornie.org>
Forwarded: not-needed
Last-Update: 2013-01-19
---- a/requests/certs.py
-+++ b/requests/certs.py
-@@ -25,7 +25,7 @@
- if certifi:
- return certifi.where()
-
+--- a/requests/certs.py 2013-04-25 22:54:02.000000000 +0000
++++ b/requests/certs.py 2013-04-25 22:54:34.000000000 +0000
+@@ -18,7 +18,7 @@
+ def where():
+ """Return the preferred certificate bundle."""
+ # vendored bundle inside Requests
- return os.path.join(os.path.dirname(__file__), 'cacert.pem')
+ return '/etc/ssl/certs/ca-certificates.crt'
-
+
if __name__ == '__main__':
print(where())
--- a/setup.py