mirror of
https://github.com/certbot/certbot.git
synced 2026-07-28 00:24:35 +02:00
More nits
This commit is contained in:
+3
-4
@@ -328,11 +328,11 @@ def diagnose_configurator_problem(cfg_type, requested, plugins):
|
||||
|
||||
if requested:
|
||||
if requested not in plugins:
|
||||
msg = "The requested " + requested + " plugin does not appear to be installed"
|
||||
msg = "The requested {0} plugin does not appear to be installed".format(requested)
|
||||
raise errors.ConfiguratorError, msg
|
||||
else:
|
||||
msg = "The " + requested + " plugin is not working; there may be problems "
|
||||
msg += "with your existing configuration"
|
||||
msg = ("The {0} plugin is not working; there may be problems with "
|
||||
"your existing configuration").format(requested)
|
||||
raise errors.ConfiguratorError, msg
|
||||
raise errors.ConfiguratorError, cfg_type + " could not be determined or is not installed"
|
||||
|
||||
@@ -362,7 +362,6 @@ def choose_configurator_plugins(args, config, plugins, verb):
|
||||
if args.apache:
|
||||
req_inst = set_configurator(req_inst, "apache")
|
||||
req_auth = set_configurator(req_auth, "apache")
|
||||
|
||||
logger.debug("Requested authenticator %s and installer %s", req_auth, req_inst)
|
||||
|
||||
# Try to meet the user's request and/or ask them to pick plugins
|
||||
|
||||
@@ -13,9 +13,10 @@ from letsencrypt import account
|
||||
from letsencrypt import configuration
|
||||
from letsencrypt import errors
|
||||
|
||||
from letsencrypt.plugins import disco
|
||||
|
||||
from letsencrypt.tests import renewer_test
|
||||
from letsencrypt.tests import test_util
|
||||
from letsencrypt.plugins import disco
|
||||
|
||||
|
||||
CSR = test_util.vector_path('csr.der')
|
||||
|
||||
Reference in New Issue
Block a user