summaryrefslogtreecommitdiffstats
path: root/callback_plugins/default.py
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2016-10-19 16:56:27 -0400
committerAndrew Butcher <abutcher@redhat.com>2016-10-19 17:07:24 -0400
commitb4d7cf3d6fddbb6335ac22d599cb8a11bd8930a2 (patch)
tree4fa20d2ef2caab884675fae479094fbf724e14fd /callback_plugins/default.py
parentff08eba45e1e74abe5cb2b691d7be820dba0e653 (diff)
downloadopenshift-b4d7cf3d6fddbb6335ac22d599cb8a11bd8930a2.tar.gz
openshift-b4d7cf3d6fddbb6335ac22d599cb8a11bd8930a2.tar.bz2
openshift-b4d7cf3d6fddbb6335ac22d599cb8a11bd8930a2.tar.xz
openshift-b4d7cf3d6fddbb6335ac22d599cb8a11bd8930a2.zip
Override __init__ in default callback to avoid infinite loop.
Diffstat (limited to 'callback_plugins/default.py')
-rw-r--r--callback_plugins/default.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/callback_plugins/default.py b/callback_plugins/default.py
index bc0b207bb..c64145b5c 100644
--- a/callback_plugins/default.py
+++ b/callback_plugins/default.py
@@ -45,6 +45,9 @@ class CallbackModule(DEFAULT_MODULE.CallbackModule): # pylint: disable=too-few-
CALLBACK_TYPE = 'stdout'
CALLBACK_NAME = 'default'
+ def __init__(self, *args, **kwargs):
+ BASECLASS.__init__(self, *args, **kwargs)
+
def _dump_results(self, result):
'''Return the text to output for a result.'''
result['_ansible_verbose_always'] = True