by removing them from the python{,3}-requests package that they did not belong in. - Use the certificates in the ca-certificates package instead of the bundled one + https://bugzilla.redhat.com/show_bug.cgi?id=904614 - Fix a problem with cookie handling + https://bugzilla.redhat.com/show_bug.cgi?id=906924
17 lines
523 B
Diff
17 lines
523 B
Diff
Index: requests-0.14.1/requests/certs.py
|
|
===================================================================
|
|
--- requests-0.14.1.orig/requests/certs.py
|
|
+++ requests-0.14.1/requests/certs.py
|
|
@@ -21,7 +21,10 @@ def where():
|
|
return certifi.where()
|
|
else:
|
|
f = os.path.split(__file__)[0]
|
|
- return os.path.join(f, 'cacert.pem')
|
|
+ path = os.path.join(f, 'cacert.pem')
|
|
+ if os.path.exists(path):
|
|
+ return path
|
|
+ return None
|
|
|
|
if __name__ == '__main__':
|
|
print(where())
|