[CI] Format code with Black

This commit is contained in:
yunohost-bot 2022-01-21 15:06:31 +00:00
parent 4571c5b22f
commit 5b30347dfa

View file

@ -751,7 +751,9 @@ def _save_services(services):
if service_conf_base.get(key) != value: if service_conf_base.get(key) != value:
diff[service_name][key] = value diff[service_name][key] = value
diff = {name: infos for name, infos in diff.items() if infos or name not in conf_base} diff = {
name: infos for name, infos in diff.items() if infos or name not in conf_base
}
write_to_yaml(SERVICES_CONF, diff) write_to_yaml(SERVICES_CONF, diff)