From f641b91594cb40cf34629793935453d5e484c3d1 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Tue, 14 Apr 2015 16:03:54 -0400 Subject: [PATCH] Pylint show a error "no deprecations variable" --- v2/ansible/utils/display.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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