mirror of
https://github.com/certbot/certbot.git
synced 2026-07-28 16:54:56 +02: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):
|
def set_configurator(previously, now):
|
||||||
"""Setting configurators multiple ways is okay, as long as they all agree"""
|
"""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:
|
||||||
if previously != now:
|
if previously != now:
|
||||||
msg = "Too many flags setting configurators/installers/authenticators %s -> %s"
|
msg = "Too many flags setting configurators/installers/authenticators %s -> %s"
|
||||||
|
|||||||
Reference in New Issue
Block a user