From 63ce7d57b14a99bd59a33b7c829f3dbf82d372ab Mon Sep 17 00:00:00 2001 From: Alejandro Lazaro Date: Thu, 31 Oct 2019 16:07:23 +0100 Subject: [PATCH] Remove extra dot at the end of the sentence (#64149) Dot is already set in display.deprecated. --- lib/ansible/playbook/conditional.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/playbook/conditional.py b/lib/ansible/playbook/conditional.py index 6c827e9d67a..a0048618205 100644 --- a/lib/ansible/playbook/conditional.py +++ b/lib/ansible/playbook/conditional.py @@ -134,7 +134,7 @@ class Conditional: conditional = templar.template(conditional, disable_lookups=disable_lookups) if bare_vars_warning and not isinstance(conditional, bool): display.deprecated('evaluating %s as a bare variable, this behaviour will go away and you might need to add |bool' - ' to the expression in the future. Also see CONDITIONAL_BARE_VARS configuration toggle.' % conditional, "2.12") + ' to the expression in the future. Also see CONDITIONAL_BARE_VARS configuration toggle' % conditional, "2.12") if not isinstance(conditional, text_type) or conditional == "": return conditional