mirror of
https://github.com/certbot/certbot.git
synced 2026-05-28 04:34:11 -04:00
parent
5d0888809f
commit
0046428382
2 changed files with 12 additions and 0 deletions
|
|
@ -10,3 +10,12 @@ supported version: `draft-ietf-acme-01`_.
|
|||
https://github.com/ietf-wg-acme/acme/tree/draft-ietf-acme-acme-01
|
||||
|
||||
"""
|
||||
import sys
|
||||
import warnings
|
||||
|
||||
if sys.version_info[:2] == (3, 3):
|
||||
warnings.warn(
|
||||
"Python 3.3 support will be dropped in the next release of "
|
||||
"acme. Please upgrade your Python version.",
|
||||
PendingDeprecationWarning,
|
||||
) #pragma: no cover
|
||||
|
|
|
|||
|
|
@ -1215,6 +1215,9 @@ def main(cli_args=sys.argv[1:]):
|
|||
# Let plugins_cmd be run as un-privileged user.
|
||||
if config.func != plugins_cmd:
|
||||
raise
|
||||
if sys.version_info[:2] == (3, 3):
|
||||
logger.warning("Python 3.3 support will be dropped in the next release "
|
||||
"of Certbot - please upgrade your Python version.")
|
||||
|
||||
set_displayer(config)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue