mirror of
https://github.com/certbot/certbot.git
synced 2026-08-01 19:02:52 +02:00
Add no cover pragma, URL for documentation.
This commit is contained in:
+2
-1
@@ -20,7 +20,8 @@ from acme import messages
|
|||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
# Python does not validate certificates by default before version 2.7.9
|
# Python does not validate certificates by default before version 2.7.9
|
||||||
if sys.version_info < (2, 7, 9):
|
# https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning
|
||||||
|
if sys.version_info < (2, 7, 9): # pragma: no cover
|
||||||
requests.packages.urllib3.contrib.pyopenssl.inject_into_urllib3()
|
requests.packages.urllib3.contrib.pyopenssl.inject_into_urllib3()
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user