mirror of
https://github.com/certbot/certbot.git
synced 2026-07-30 18:04:31 +02:00
s/none/None
This commit is contained in:
+2
-2
@@ -236,8 +236,8 @@ def choose_configurator_plugins(config, plugins, verb):
|
|||||||
def record_chosen_plugins(config, plugins, auth, inst):
|
def record_chosen_plugins(config, plugins, auth, inst):
|
||||||
"Update the config entries to reflect the plugins we actually selected."
|
"Update the config entries to reflect the plugins we actually selected."
|
||||||
cn = config.namespace
|
cn = config.namespace
|
||||||
cn.authenticator = plugins.find_init(auth).name if auth else "none"
|
cn.authenticator = plugins.find_init(auth).name if auth else "None"
|
||||||
cn.installer = plugins.find_init(inst).name if inst else "none"
|
cn.installer = plugins.find_init(inst).name if inst else "None"
|
||||||
|
|
||||||
|
|
||||||
def set_by_cli(var):
|
def set_by_cli(var):
|
||||||
|
|||||||
+1
-1
@@ -462,7 +462,7 @@ def config_changes(config, unused_plugins):
|
|||||||
def revoke(config, unused_plugins): # TODO: coop with renewal config
|
def revoke(config, unused_plugins): # TODO: coop with renewal config
|
||||||
"""Revoke a previously obtained certificate."""
|
"""Revoke a previously obtained certificate."""
|
||||||
# For user-agent construction
|
# For user-agent construction
|
||||||
config.namespace.installer = config.namespace.authenticator = "none"
|
config.namespace.installer = config.namespace.authenticator = "None"
|
||||||
if config.key_path is not None: # revocation by cert key
|
if config.key_path is not None: # revocation by cert key
|
||||||
logger.debug("Revoking %s using cert key %s",
|
logger.debug("Revoking %s using cert key %s",
|
||||||
config.cert_path[0], config.key_path[0])
|
config.cert_path[0], config.key_path[0])
|
||||||
|
|||||||
+1
-1
@@ -14,7 +14,7 @@ apache_dismod = a2dismod
|
|||||||
register_unsafely_without_email = False
|
register_unsafely_without_email = False
|
||||||
apache_handle_modules = True
|
apache_handle_modules = True
|
||||||
uir = None
|
uir = None
|
||||||
installer = none
|
installer = None
|
||||||
nginx_ctl = nginx
|
nginx_ctl = nginx
|
||||||
config_dir = MAGICDIR
|
config_dir = MAGICDIR
|
||||||
text_mode = False
|
text_mode = False
|
||||||
|
|||||||
+1
-1
@@ -14,7 +14,7 @@ apache_dismod = a2dismod
|
|||||||
register_unsafely_without_email = False
|
register_unsafely_without_email = False
|
||||||
apache_handle_modules = True
|
apache_handle_modules = True
|
||||||
uir = None
|
uir = None
|
||||||
installer = none
|
installer = None
|
||||||
nginx_ctl = nginx
|
nginx_ctl = nginx
|
||||||
config_dir = MAGICDIR
|
config_dir = MAGICDIR
|
||||||
text_mode = False
|
text_mode = False
|
||||||
|
|||||||
Reference in New Issue
Block a user