modules s[a-e]*: use f-strings (#10976)

* modules s[a-e]*: use f-strings

* add changelog frag
This commit is contained in:
Alexei Znamensky
2025-10-26 22:34:24 +13:00
committed by GitHub
parent 32dd5f04c5
commit 73452acf84
28 changed files with 243 additions and 280 deletions

View File

@@ -83,7 +83,7 @@ def main():
if executable:
break
else:
module.fail_json(msg='Unable to find either %s' % ', '.join(possibles))
module.fail_json(msg=f"Unable to find either {', '.join(possibles)}")
if module.check_mode:
module.exit_json(msg=msg, changed=False)