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

24 lines
554 B
Diff
Raw Normal View History

Index: pip-18.0/src/pip/_vendor/certifi/core.py
===================================================================
--- pip-18.0.orig/src/pip/_vendor/certifi/core.py
+++ pip-18.0/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,9 +18,8 @@ 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():