mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[CI] Format code with Black
This commit is contained in:
parent
e1569f962b
commit
2f982e26a9
2 changed files with 11 additions and 2 deletions
|
@ -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):
|
||||
"""
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue