mirror of
https://github.com/certbot/certbot.git
synced 2026-07-28 08:45:22 +02:00
Use setattr in NamespaceConfig (#4362)
* set setattr in NamespaceConfig * remove unnecessary uses of .namespace * add simple test to ensure it works
This commit is contained in:
committed by
Peter Eckersley
parent
57f527f818
commit
edcfc49303
@@ -137,9 +137,8 @@ noninstaller_plugins = ["webroot", "manual", "standalone"]
|
||||
|
||||
def record_chosen_plugins(config, plugins, auth, inst):
|
||||
"Update the config entries to reflect the plugins we actually selected."
|
||||
cn = config.namespace
|
||||
cn.authenticator = plugins.find_init(auth).name if auth else "None"
|
||||
cn.installer = plugins.find_init(inst).name if inst else "None"
|
||||
config.authenticator = plugins.find_init(auth).name if auth else "None"
|
||||
config.installer = plugins.find_init(inst).name if inst else "None"
|
||||
|
||||
|
||||
def choose_configurator_plugins(config, plugins, verb):
|
||||
|
||||
Reference in New Issue
Block a user