SHA256
1
0
forked from pool/python-pip
python-pip/pip-8.1.2-shipped-requests-cabundle.patch
Tomáš Chvátal 1e080e3705 Accepting request 599168 from home:mimi_vx:branches:devel:languages:python
- 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
2018-04-20 08:09:42 +00:00

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(