mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
🎨 Format Python code with Black
This commit is contained in:
parent
51787a2f8b
commit
aae24614c4
1 changed files with 2 additions and 12 deletions
14
src/user.py
14
src/user.py
|
@ -1302,12 +1302,7 @@ def user_group_update(
|
||||||
|
|
||||||
hook_callback(
|
hook_callback(
|
||||||
"post_app_addaccess",
|
"post_app_addaccess",
|
||||||
args=[
|
args=[app, ",".join(users_to_add), sub_permission, ""],
|
||||||
app,
|
|
||||||
",".join(users_to_add),
|
|
||||||
sub_permission,
|
|
||||||
""
|
|
||||||
],
|
|
||||||
)
|
)
|
||||||
|
|
||||||
if remove and users_to_remove:
|
if remove and users_to_remove:
|
||||||
|
@ -1317,12 +1312,7 @@ def user_group_update(
|
||||||
|
|
||||||
hook_callback(
|
hook_callback(
|
||||||
"post_app_removeaccess",
|
"post_app_removeaccess",
|
||||||
args=[
|
args=[app, ",".join(users_to_remove), sub_permission, ""],
|
||||||
app,
|
|
||||||
",".join(users_to_remove),
|
|
||||||
sub_permission,
|
|
||||||
""
|
|
||||||
],
|
|
||||||
)
|
)
|
||||||
|
|
||||||
if not from_import:
|
if not from_import:
|
||||||
|
|
Loading…
Add table
Reference in a new issue