Conditional bare: fix typos (#53807)

This commit is contained in:
Pilou 2019-03-20 01:29:59 +00:00 committed by Brian Coca
parent 3b8768158f
commit dbb782a594
3 changed files with 9 additions and 9 deletions

View file

@ -114,7 +114,7 @@ class Conditional:
if isinstance(conditional, bool):
return conditional
if C.CONDITINAL_BARE_VARS:
if C.CONDITIONAL_BARE_VARS:
if conditional in all_vars and VALID_VAR_REGEX.match(conditional):
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")