gentoo/dev-python/httplib2/files/httplib2-0.12.1-use-system-cacerts.patch
Thomas Deutschmann 3efe9915bb
dev-python/httplib2: respin use-system-cacerts.patch
Closes: https://bugs.gentoo.org/683010
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
2019-04-10 19:24:23 +02:00

27 lines
582 B
Diff

--- a/python2/httplib2/certs.py
+++ b/python2/httplib2/certs.py
@@ -19,9 +19,7 @@ except ImportError:
pass
-BUILTIN_CA_CERTS = os.path.join(
- os.path.dirname(os.path.abspath(__file__)), "cacerts.txt"
-)
+BUILTIN_CA_CERTS = "/etc/ssl/certs/ca-certificates.crt"
def where():
--- a/python3/httplib2/certs.py
+++ b/python3/httplib2/certs.py
@@ -19,9 +19,7 @@ except ImportError:
pass
-BUILTIN_CA_CERTS = os.path.join(
- os.path.dirname(os.path.abspath(__file__)), "cacerts.txt"
-)
+BUILTIN_CA_CERTS = "/etc/ssl/certs/ca-certificates.crt"
def where():