mirror of
https://github.com/certbot/certbot.git
synced 2026-07-28 16:15:42 +02:00
Pin back setuptools-rust (#9112)
* pin back setuptools-rust * make pylint happy This was taken from https://github.com/certbot/certbot/pull/9073. * pin back josepy * Apply lint's code style suggestions * fix lint again Co-authored-by: Erica Portnoy <ebportnoy@gmail.com>
This commit is contained in:
co-authored by
Erica Portnoy
parent
267fb94478
commit
d1821b3ad7
@@ -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.keys():
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user