mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-03-22 05:09:12 +00:00
modules p*: use f-strings (#10974)
* modules p*: use f-strings * add changelog frag
This commit is contained in:
parent
d51e4c188b
commit
8120e9347e
42 changed files with 299 additions and 300 deletions
|
|
@ -97,7 +97,7 @@ def get_pritunl_organizations(module):
|
|||
|
||||
if org_name and len(organizations) == 0:
|
||||
# When an org_name is provided but no organization match return an error
|
||||
module.fail_json(msg="Organization '%s' does not exist" % org_name)
|
||||
module.fail_json(msg=f"Organization '{org_name}' does not exist")
|
||||
|
||||
result = {}
|
||||
result["changed"] = False
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue