python-pip/dummy-certifi.patch

28 lines
683 B
Diff
Raw Normal View History

2020-07-28 18:55:50 +08:00
From 09bf87d33141a5c06a1d410839d162262baa16c4 Mon Sep 17 00:00:00 2001
From: Tomas Hrnciar <thrnciar@redhat.com>
Date: Sun, 26 Apr 2020 21:38:44 +0200
Subject: [PATCH] Dummy certifi patch
---
src/pip/_vendor/certifi/core.py | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
2019-09-30 11:15:19 -04:00
diff --git a/src/pip/_vendor/certifi/core.py b/src/pip/_vendor/certifi/core.py
2020-07-28 18:55:50 +08:00
index 56b52a3c..e99043f0 100644
2019-09-30 11:15:19 -04:00
--- a/src/pip/_vendor/certifi/core.py
+++ b/src/pip/_vendor/certifi/core.py
2020-07-28 18:55:50 +08:00
@@ -21,9 +21,7 @@ except ImportError:
2019-09-30 11:15:19 -04:00
def where():
- f = os.path.dirname(__file__)
-
2020-07-28 18:55:50 +08:00
- return os.path.join(f, "cacert.pem")
2019-09-30 11:15:19 -04:00
+ return '/etc/pki/tls/certs/ca-bundle.crt'
2020-07-28 18:55:50 +08:00
def contents():
--
2.23.0