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(
|
||||
"post_app_addaccess",
|
||||
args=[
|
||||
app,
|
||||
",".join(users_to_add),
|
||||
sub_permission,
|
||||
""
|
||||
],
|
||||
args=[app, ",".join(users_to_add), sub_permission, ""],
|
||||
)
|
||||
|
||||
if remove and users_to_remove:
|
||||
|
@ -1317,12 +1312,7 @@ def user_group_update(
|
|||
|
||||
hook_callback(
|
||||
"post_app_removeaccess",
|
||||
args=[
|
||||
app,
|
||||
",".join(users_to_remove),
|
||||
sub_permission,
|
||||
""
|
||||
],
|
||||
args=[app, ",".join(users_to_remove), sub_permission, ""],
|
||||
)
|
||||
|
||||
if not from_import:
|
||||
|
|
Loading…
Add table
Reference in a new issue