1
0
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:
Peter Eckersley
2015-10-16 17:38:17 -07:00
parent 3d6ecc114b
commit dcf8ea4e97

View File

@@ -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"