diff options
author | Andrew Butcher <abutcher@redhat.com> | 2016-10-19 16:56:27 -0400 |
---|---|---|
committer | Andrew Butcher <abutcher@redhat.com> | 2016-10-19 17:07:24 -0400 |
commit | b4d7cf3d6fddbb6335ac22d599cb8a11bd8930a2 (patch) | |
tree | 4fa20d2ef2caab884675fae479094fbf724e14fd | |
parent | ff08eba45e1e74abe5cb2b691d7be820dba0e653 (diff) | |
download | openshift-b4d7cf3d6fddbb6335ac22d599cb8a11bd8930a2.tar.gz openshift-b4d7cf3d6fddbb6335ac22d599cb8a11bd8930a2.tar.bz2 openshift-b4d7cf3d6fddbb6335ac22d599cb8a11bd8930a2.tar.xz openshift-b4d7cf3d6fddbb6335ac22d599cb8a11bd8930a2.zip |
Override __init__ in default callback to avoid infinite loop.
-rw-r--r-- | callback_plugins/default.py | 3 |
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 |