summaryrefslogtreecommitdiff
path: root/lib/ansible/utils/display.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ansible/utils/display.py')
-rw-r--r--lib/ansible/utils/display.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/ansible/utils/display.py b/lib/ansible/utils/display.py
index 2f21646467..51117761e1 100644
--- a/lib/ansible/utils/display.py
+++ b/lib/ansible/utils/display.py
@@ -36,7 +36,9 @@ from termios import TIOCGWINSZ
from ansible import constants as C
from ansible.errors import AnsibleError
from ansible.module_utils._text import to_bytes, to_text
+from ansible.module_utils.six import with_metaclass
from ansible.utils.color import stringc
+from ansible.utils.singleton import Singleton
try:
@@ -77,7 +79,7 @@ b_COW_PATHS = (
)
-class Display:
+class Display(with_metaclass(Singleton, object)):
def __init__(self, verbosity=0):