mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Pylint show a error "no deprecations variable"
This commit is contained in:
parent
b69f57d8a4
commit
f641b91594
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ class Display:
|
||||||
wrapped = textwrap.wrap(new_msg, 79)
|
wrapped = textwrap.wrap(new_msg, 79)
|
||||||
new_msg = "\n".join(wrapped) + "\n"
|
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.display(new_msg, color='purple', stderr=True)
|
||||||
self._deprecations[new_msg] = 1
|
self._deprecations[new_msg] = 1
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue