From a4ab98ecedd00be4a7d4a0e6b74faccd836870cf Mon Sep 17 00:00:00 2001 From: Brad Warren Date: Tue, 23 Nov 2021 08:48:05 -0800 Subject: [PATCH] fix lint again --- certbot-apache/certbot_apache/_internal/entrypoint.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/certbot-apache/certbot_apache/_internal/entrypoint.py b/certbot-apache/certbot_apache/_internal/entrypoint.py index 5430e9d79..7a2034004 100644 --- a/certbot-apache/certbot_apache/_internal/entrypoint.py +++ b/certbot-apache/certbot_apache/_internal/entrypoint.py @@ -56,8 +56,7 @@ def get_configurator(): os_like = util.get_systemd_os_like() if os_like: for os_name in os_like: - if os_name in OVERRIDE_CLASSES: - override_class = OVERRIDE_CLASSES[os_name] + override_class = OVERRIDE_CLASSES.get(os_name) if not override_class: # No override class found, return the generic configurator override_class = configurator.ApacheConfigurator