From f259a1754944dda291083d3c2155ecb932cc6fb7 Mon Sep 17 00:00:00 2001 From: Peter Eckersley Date: Thu, 16 Mar 2017 01:14:06 -0700 Subject: [PATCH] Lint --- certbot/cli.py | 2 +- certbot/main.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/certbot/cli.py b/certbot/cli.py index abcac6c94..88b53796b 100644 --- a/certbot/cli.py +++ b/certbot/cli.py @@ -526,7 +526,7 @@ class HelpfulArgumentParser(object): parsed_args = self.parser.parse_args(self.args) parsed_args.func = self.VERBS[self.verb] parsed_args.verb = self.verb - parsed_args.renewing = None # an important config property we don't know until later + parsed_args.renewing = "unknown" # an important config property we don't know until later if self.detect_defaults: return parsed_args diff --git a/certbot/main.py b/certbot/main.py index 43cc0b101..d0dc0721a 100644 --- a/certbot/main.py +++ b/certbot/main.py @@ -687,7 +687,8 @@ def certonly(config, plugins): domains, certname = _find_domains_or_certname(config, installer) should_get_cert, lineage = _find_cert(config, domains, certname) - le_client = _init_le_client(config, auth, installer) # run after _find_cert for config.renewing if possible + # _init_le_client needs to run after _find_cert for config.renewing if possible + le_client = _init_le_client(config, auth, installer) if not should_get_cert: notify = zope.component.getUtility(interfaces.IDisplay).notification