Merge pull request #1417 from YunoHost/ci-format-dev

[CI] Format code with Black
This commit is contained in:
Alexandre Aubin 2022-01-21 16:10:01 +01:00 committed by GitHub
commit cc65217f58
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -751,7 +751,9 @@ def _save_services(services):
if service_conf_base.get(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)