diff --git a/v2/ansible/utils/display.py b/v2/ansible/utils/display.py index f132d4383f9..ed43da8623b 100644 --- a/v2/ansible/utils/display.py +++ b/v2/ansible/utils/display.py @@ -100,7 +100,7 @@ class Display: wrapped = textwrap.wrap(new_msg, 79) new_msg = "\n".join(wrapped) + "\n" - if new_msg not in deprecations: + if new_msg not in self._deprecations: self.display(new_msg, color='purple', stderr=True) self._deprecations[new_msg] = 1