[CI] Format code

This commit is contained in:
yunohost-bot 2021-08-27 15:53:09 +00:00
parent e21ff4d43a
commit c62e168689

View file

@ -37,7 +37,13 @@ from moulinette import m18n
from yunohost.utils.error import YunohostError, YunohostValidationError
from moulinette.utils.process import check_output
from moulinette.utils.log import getActionLogger
from moulinette.utils.filesystem import read_file, append_to_file, write_to_file, read_yaml, write_to_yaml
from moulinette.utils.filesystem import (
read_file,
append_to_file,
write_to_file,
read_yaml,
write_to_yaml,
)
MOULINETTE_LOCK = "/var/run/moulinette_yunohost.lock"
@ -680,9 +686,11 @@ def _get_services():
services.update(read_yaml(SERVICES_CONF) or {})
services = {name: infos
for name, infos in services.items()
if name not in legacy_keys_to_delete}
services = {
name: infos
for name, infos in services.items()
if name not in legacy_keys_to_delete
}
except Exception:
return {}