mirror of
https://github.com/certbot/certbot.git
synced 2026-01-21 19:01:07 +03:00
Logic for setting configurators assumed they were really being set
(They might not be)
This commit is contained in:
@@ -309,6 +309,9 @@ class ConfiguratorError(TypeError): # pylint: disable=missing-docstring
|
||||
|
||||
def set_configurator(previously, now):
|
||||
"""Setting configurators multiple ways is okay, as long as they all agree"""
|
||||
if now is None:
|
||||
# we're not actually setting anything
|
||||
return previously
|
||||
if previously:
|
||||
if previously != now:
|
||||
msg = "Too many flags setting configurators/installers/authenticators %s -> %s"
|
||||
|
||||
Reference in New Issue
Block a user