From 9dd7abf27c3c45a4cb4640ba1b8a4cf3cc8e941b Mon Sep 17 00:00:00 2001 From: Brad Warren Date: Fri, 18 Oct 2019 11:25:32 -0700 Subject: [PATCH] Remove warning about rename. --- certbot/cli.py | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/certbot/cli.py b/certbot/cli.py index 6715dfd9c..93cdc7408 100644 --- a/certbot/cli.py +++ b/certbot/cli.py @@ -163,24 +163,6 @@ def report_config_interaction(modified, modifiers): VAR_MODIFIERS.setdefault(var, set()).update(modifiers) -def possible_deprecation_warning(config): - "A deprecation warning for users with the old, not-self-upgrading letsencrypt-auto." - if cli_command != LEAUTO: - return - if config.no_self_upgrade: - # users setting --no-self-upgrade might be hanging on a client version like 0.3.0 - # or 0.5.0 which is the new script, but doesn't set CERTBOT_AUTO; they don't - # need warnings - return - if "CERTBOT_AUTO" not in os.environ: - logger.warning("You are running with an old copy of letsencrypt-auto" - " that does not receive updates, and is less reliable than more" - " recent versions. The letsencrypt client has also been renamed" - " to Certbot. We recommend upgrading to the latest certbot-auto" - " script, or using native OS packages.") - logger.debug("Deprecation warning circumstances: %s / %s", sys.argv[0], os.environ) - - class _Default(object): """A class to use as a default to detect if a value is set by a user""" @@ -642,8 +624,6 @@ class HelpfulArgumentParser(object): raise errors.Error( "Parameters --hsts and --auto-hsts cannot be used simultaneously.") - possible_deprecation_warning(parsed_args) - return parsed_args def set_test_server(self, parsed_args):