mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-03-26 21:33:12 +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:
@@ -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"],
|
||||
|
||||
Reference in New Issue
Block a user