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-08-25 11:47:20 +08:00
|
|
|
index 8987449..128fa92 100644
|
2019-09-30 11:15:19 -04:00
|
|
|
--- a/src/pip/_vendor/certifi/core.py
|
|
|
|
|
+++ b/src/pip/_vendor/certifi/core.py
|
2020-08-25 11:47:20 +08:00
|
|
|
@@ -51,9 +51,7 @@ except ImportError:
|
|
|
|
|
# If we don't have importlib.resources, then we will just do the old logic
|
|
|
|
|
# of assuming we're on the filesystem and munge the path directly.
|
|
|
|
|
def where():
|
|
|
|
|
- f = os.path.dirname(__file__)
|
|
|
|
|
-
|
|
|
|
|
- return os.path.join(f, "cacert.pem")
|
|
|
|
|
+ return '/etc/pki/tls/certs/ca-bundle.crt'
|
2019-09-30 11:15:19 -04:00
|
|
|
|
|
|
|
|
|
2020-07-28 18:55:50 +08:00
|
|
|
def contents():
|
2020-08-25 11:47:20 +08:00
|
|
|
--
|
2020-07-28 18:55:50 +08:00
|
|
|
2.23.0
|
|
|
|
|
|