Skip to content

Commit

Permalink
actuall f the string
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoca committed Feb 6, 2024
1 parent 622a8a2 commit db2ea2d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/ansible/config/manager.py
Expand Up @@ -613,8 +613,8 @@ def get_deprecated_msg_from_config(dep_docs, include_removal=False):
removal = ''
if include_removal:
if 'removed_at_date' in dep_docs:
removal = "Will be removed in a release after {dep_docs['removed_at_date']}\n\t"
removal = f"Will be removed in a release after {dep_docs['removed_at_date']}\n\t"
else:
removal = "Will be removed in: Ansible {dep_docs['removed_in']}\n\t"
removal = f"Will be removed in: Ansible {dep_docs['removed_in']}\n\t"

return "Reason: {dep_docs['why']}\n\t{removal}Alternatives: {dep_docs['alternatives']}"
return f"Reason: {dep_docs['why']}\n\t{removal}Alternatives: {dep_docs['alternatives']}"

0 comments on commit db2ea2d

Please sign in to comment.