diff options
author | Scott Dodson <sdodson@redhat.com> | 2016-10-19 17:53:48 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-19 17:53:48 -0400 |
commit | 4a5b2dd0510ac092da44a09730a734fe9ef7e112 (patch) | |
tree | 4fa20d2ef2caab884675fae479094fbf724e14fd /callback_plugins/default.py | |
parent | ff08eba45e1e74abe5cb2b691d7be820dba0e653 (diff) | |
parent | b4d7cf3d6fddbb6335ac22d599cb8a11bd8930a2 (diff) | |
download | openshift-4a5b2dd0510ac092da44a09730a734fe9ef7e112.tar.gz openshift-4a5b2dd0510ac092da44a09730a734fe9ef7e112.tar.bz2 openshift-4a5b2dd0510ac092da44a09730a734fe9ef7e112.tar.xz openshift-4a5b2dd0510ac092da44a09730a734fe9ef7e112.zip |
Merge pull request #2630 from abutcher/fix-default-callback
Fix maximum recursion depth exceeded in default callback
Diffstat (limited to 'callback_plugins/default.py')
-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 |