This commit is contained in:
parent
6d4fd9323a
commit
e9c5e7d690
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user