mirror of
https://github.com/certbot/certbot.git
synced 2026-08-01 02:44:21 +02:00
Lint
This commit is contained in:
+1
-1
@@ -526,7 +526,7 @@ class HelpfulArgumentParser(object):
|
|||||||
parsed_args = self.parser.parse_args(self.args)
|
parsed_args = self.parser.parse_args(self.args)
|
||||||
parsed_args.func = self.VERBS[self.verb]
|
parsed_args.func = self.VERBS[self.verb]
|
||||||
parsed_args.verb = 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:
|
if self.detect_defaults:
|
||||||
return parsed_args
|
return parsed_args
|
||||||
|
|||||||
+2
-1
@@ -687,7 +687,8 @@ def certonly(config, plugins):
|
|||||||
|
|
||||||
domains, certname = _find_domains_or_certname(config, installer)
|
domains, certname = _find_domains_or_certname(config, installer)
|
||||||
should_get_cert, lineage = _find_cert(config, domains, certname)
|
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:
|
if not should_get_cert:
|
||||||
notify = zope.component.getUtility(interfaces.IDisplay).notification
|
notify = zope.component.getUtility(interfaces.IDisplay).notification
|
||||||
|
|||||||
Reference in New Issue
Block a user