Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15-SP2
python-websocket-client.14495
use_system_cabundle.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File use_system_cabundle.patch of Package python-websocket-client.14495
diff -Naur a/setup.py b/setup.py --- a/setup.py 2017-12-24 07:47:39.000000000 +0100 +++ b/setup.py 2018-01-18 10:54:20.090661863 +0100 @@ -63,7 +63,6 @@ packages=["websocket", "websocket.tests"], package_data={ 'websocket.tests': ['data/*.txt'], - 'websocket': ["cacert.pem"] }, tests_require=tests_require, test_suite="websocket.tests" diff -Naur a/websocket/_http.py b/websocket/_http.py --- websocket_client-0.44.0/websocket/_http.py 2017-06-23 13:55:21.000000000 +0200 +++ websocket_client-0.44.0/websocket/_http1.py 2018-08-16 15:43:12.765543488 +0200 @@ -168,8 +168,7 @@ if os.environ.get('WEBSOCKET_CLIENT_CA_BUNDLE'): certPath = os.environ.get('WEBSOCKET_CLIENT_CA_BUNDLE') else: - certPath = os.path.join( - os.path.dirname(__file__), "cacert.pem") + certPath = ssl.get_default_verify_paths().cafile if os.path.isfile(certPath) and user_sslopt.get('ca_cert', None) is None: sslopt['ca_certs'] = certPath elif os.path.isdir(certPath) and user_sslopt.get('ca_cert_path', None) is None: diff -Naur a/websocket_client.egg-info/SOURCES.txt b/websocket_client.egg-info/SOURCES.txt --- a/websocket_client.egg-info/SOURCES.txt 2017-12-30 12:28:30.000000000 +0100 +++ b/websocket_client.egg-info/SOURCES.txt 2018-01-18 10:54:31.166637627 +0100 @@ -20,7 +20,6 @@ websocket/_ssl_compat.py websocket/_url.py websocket/_utils.py -websocket/cacert.pem websocket/tests/__init__.py websocket/tests/test_cookiejar.py websocket/tests/test_websocket.py
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor