mirror of
https://github.com/certbot/certbot.git
synced 2026-02-18 01:58:29 -05:00
Logic for setting configurators assumed they were really being set
(They might not be)
This commit is contained in:
parent
3d6ecc114b
commit
dcf8ea4e97
1 changed files with 3 additions and 0 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue