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:
Brad Warren
2021-11-23 12:35:49 -08:00
committed by GitHub
co-authored by Erica Portnoy
parent 267fb94478
commit d1821b3ad7
5 changed files with 90 additions and 78 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.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