1e080e3705
- update to 10.0.1 - refactor pip-8.1.2-shipped-requests-cabundle.patch * Switch the default repository to the new "PyPI 2.0" running at https://pypi.org/ * big bunch of changes from 9.0.1 in NEWS.rst OBS-URL: https://build.opensuse.org/request/show/599168 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pip?expand=0&rev=50
25 lines
599 B
Diff
25 lines
599 B
Diff
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(
|