14
0

Accepting request 248629 from home:TheBlackCat:branches:devel:languages:python

Update to 2.4.1

OBS-URL: https://build.opensuse.org/request/show/248629
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=49
This commit is contained in:
Todd R
2014-09-11 15:26:41 +00:00
committed by Git OBS Bridge
parent e69e59a4c2
commit 8f2e0821d4
6 changed files with 42 additions and 16 deletions

View File

@@ -12,12 +12,12 @@
else:
--- a/requests/certs.py
+++ b/requests/certs.py
@@ -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/'
@@ -19,7 +19,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/'
if __name__ == '__main__':
print(where())
@@ -26,3 +26,4 @@
@@ -1 +1 @@
-include README.rst LICENSE NOTICE HISTORY.rst test_requests.py requirements.txt requests/cacert.pem
+include README.rst LICENSE NOTICE HISTORY.rst test_requests.py requirements.txt