mirror of
https://github.com/certbot/certbot.git
synced 2026-08-04 16:13:23 +02:00
Revert acme/acme/client.py
This commit is contained in:
@@ -32,6 +32,9 @@ logger = logging.getLogger(__name__)
|
|||||||
# for SSL, which does allow these options to be configured.
|
# for SSL, which does allow these options to be configured.
|
||||||
# https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning
|
# https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning
|
||||||
if sys.version_info < (2, 7, 9): # pragma: no cover
|
if sys.version_info < (2, 7, 9): # pragma: no cover
|
||||||
|
try:
|
||||||
|
requests.packages.urllib3.contrib.pyopenssl.inject_into_urllib3() # type: ignore
|
||||||
|
except AttributeError:
|
||||||
import urllib3.contrib.pyopenssl # pylint: disable=import-error
|
import urllib3.contrib.pyopenssl # pylint: disable=import-error
|
||||||
urllib3.contrib.pyopenssl.inject_into_urllib3()
|
urllib3.contrib.pyopenssl.inject_into_urllib3()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user