mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-07 20:47:16 +00:00
modules g*: use f-strings (#10958)
* modules g*: use f-strings * add changelog frag * remove extraneous to_native()
This commit is contained in:
parent
a3987c9844
commit
b67e7c83cf
31 changed files with 250 additions and 245 deletions
|
|
@ -165,7 +165,7 @@ def core(module):
|
|||
project = find_project(gl, gitlab_project)
|
||||
# project doesn't exist
|
||||
if not project:
|
||||
module.fail_json(msg="project '%s' not found." % gitlab_project)
|
||||
module.fail_json(msg=f"project '{gitlab_project}' not found.")
|
||||
|
||||
wished_badge = {
|
||||
"link_url": module.params["link_url"],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue