Reformat everything.

This commit is contained in:
Felix Fontein
2025-11-01 12:08:41 +01:00
parent 3f2213791a
commit 340ff8586d
1008 changed files with 61301 additions and 58309 deletions

View File

@@ -115,9 +115,7 @@ def get_pritunl_user(module):
)
if len(org_obj_list) == 0:
module.fail_json(
msg=f"Can not list users from the organization '{org_name}' which does not exist"
)
module.fail_json(msg=f"Can not list users from the organization '{org_name}' which does not exist")
org_id = org_obj_list[0]["id"]
@@ -126,11 +124,7 @@ def get_pritunl_user(module):
get_pritunl_settings(module),
{
"organization_id": org_id,
"filters": (
{"type": user_type}
if user_name is None
else {"name": user_name, "type": user_type}
),
"filters": ({"type": user_type} if user_name is None else {"name": user_name, "type": user_type}),
},
)
)