forked from pool/python-pip
This commit is contained in:
@@ -7,7 +7,7 @@ Index: pip-24.2/src/pip/_vendor/requests/adapters.py
|
|||||||
extract_zipped_paths(DEFAULT_CA_BUNDLE_PATH)
|
extract_zipped_paths(DEFAULT_CA_BUNDLE_PATH)
|
||||||
)
|
)
|
||||||
-except ImportError:
|
-except ImportError:
|
||||||
+except ImportError, FileNotFoundError:
|
+except (ImportError, FileNotFoundError):
|
||||||
# Bypass default SSLContext creation when Python
|
# Bypass default SSLContext creation when Python
|
||||||
# interpreter isn't built with the ssl module.
|
# interpreter isn't built with the ssl module.
|
||||||
_preloaded_ssl_context = None
|
_preloaded_ssl_context = None
|
||||||
|
Reference in New Issue
Block a user