mirror of
https://github.com/certbot/certbot.git
synced 2026-06-03 13:59:02 -04:00
Reapply from master
This commit is contained in:
parent
a56176e079
commit
fe344f3c3b
1 changed files with 1 additions and 2 deletions
|
|
@ -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: # pylint: disable=consider-using-get
|
||||
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue