SHA256
1
0
forked from pool/python-pip
python-pip/pip-8.1.2-shipped-requests-cabundle.patch

25 lines
599 B
Diff
Raw Normal View History

Index: pip-10.0.1/src/pip/_vendor/certifi/core.py
===================================================================
--- pip-10.0.1.orig/src/pip/_vendor/certifi/core.py
+++ pip-10.0.1/src/pip/_vendor/certifi/core.py
@@ -7,7 +7,6 @@ certifi.py
This module returns the installation location of cacert.pem.
"""
-import os
import warnings
@@ -19,10 +18,7 @@ class DeprecatedBundleWarning(Deprecatio
def where():
- f = os.path.dirname(__file__)
-
- return os.path.join(f, 'cacert.pem')
-
+ return '/etc/ssl/ca-bundle.pem'
def old_where():
warnings.warn(