mirror of
https://github.com/ansible-collections/community.crypto.git
synced 2026-05-08 06:13:03 +00:00
Replace % and str.format() with f-strings (#875)
* Replace % and str.format() with f-strings. * Apply suggestions from review.
This commit is contained in:
@@ -98,9 +98,7 @@ def main():
|
||||
# ignore errors
|
||||
pass
|
||||
if authz.status != "deactivated":
|
||||
module.warn(
|
||||
warning="Could not deactivate authz object {0}.".format(authz.url)
|
||||
)
|
||||
module.warn(warning=f"Could not deactivate authz object {authz.url}.")
|
||||
|
||||
module.exit_json(changed=changed)
|
||||
except ModuleFailException as e:
|
||||
|
||||
Reference in New Issue
Block a user