mirror of
https://github.com/certbot/certbot.git
synced 2026-06-07 07:42:08 -04:00
Lint
This commit is contained in:
parent
6fa521bc5f
commit
f259a17549
2 changed files with 3 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue