Merge pull request #1673 from YunoHost/ci-format-debian/11.1.21.2

[CI] Format code with Black
This commit is contained in:
Alexandre Aubin 2023-06-12 17:35:10 +02:00 committed by GitHub
commit 18336b01dc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 2 deletions

View file

@ -1653,7 +1653,14 @@ def app_shell(app):
app -- App ID
"""
subprocess.run(['/bin/bash', '-c', 'source /usr/share/yunohost/helpers && ynh_spawn_app_shell '+app])
subprocess.run(
[
"/bin/bash",
"-c",
"source /usr/share/yunohost/helpers && ynh_spawn_app_shell " + app,
]
)
def app_register_url(app, domain, path):
"""

View file

@ -1259,7 +1259,9 @@ def user_group_update(
)
if mail in new_group_mail:
new_group_mail.remove(mail)
logger.info(m18n.n("group_mailalias_remove", group=groupname, mail=mail))
logger.info(
m18n.n("group_mailalias_remove", group=groupname, mail=mail)
)
else:
raise YunohostValidationError("mail_alias_remove_failed", mail=mail)