desktop/python-requests/certs.patch
AlmAck 08a66c4024 python3 rebuild for 3.5
new pkg added to fullfill checkdepends
new order file python3.order
2016-03-16 22:36:13 +01:00

14 lines
457 B
Diff

diff --git a/requests/certs.py b/requests/certs.py
index 07e6475..33db011 100644
--- a/requests/certs.py
+++ b/requests/certs.py
@@ -19,7 +19,7 @@ except ImportError:
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())