diff options
author | Jason DeTiberus <jdetiber@redhat.com> | 2016-11-28 15:32:46 -0500 |
---|---|---|
committer | Jason DeTiberus <jdetiber@redhat.com> | 2016-11-29 12:41:14 -0500 |
commit | cef42e2541f7ddeaf284b1350eed7f4e46234fe9 (patch) | |
tree | ec51eb6d9dc1d48daf336054ea5688e0f3107f13 /callback_plugins | |
parent | e5f352d6f7c7bd91c2784152a8805f6e22f407db (diff) | |
download | openshift-cef42e2541f7ddeaf284b1350eed7f4e46234fe9.tar.gz openshift-cef42e2541f7ddeaf284b1350eed7f4e46234fe9.tar.bz2 openshift-cef42e2541f7ddeaf284b1350eed7f4e46234fe9.tar.xz openshift-cef42e2541f7ddeaf284b1350eed7f4e46234fe9.zip |
update tests and flake8/pylint fixes
Diffstat (limited to 'callback_plugins')
-rw-r--r-- | callback_plugins/default.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/callback_plugins/default.py b/callback_plugins/default.py index c64145b5c..97ad77724 100644 --- a/callback_plugins/default.py +++ b/callback_plugins/default.py @@ -30,7 +30,7 @@ DEFAULT_MODULE = imp.load_source( try: from ansible.plugins.callback import CallbackBase BASECLASS = CallbackBase -except ImportError: # < ansible 2.1 +except ImportError: # < ansible 2.1 BASECLASS = DEFAULT_MODULE.CallbackModule @@ -46,6 +46,7 @@ class CallbackModule(DEFAULT_MODULE.CallbackModule): # pylint: disable=too-few- CALLBACK_NAME = 'default' def __init__(self, *args, **kwargs): + # pylint: disable=non-parent-init-called BASECLASS.__init__(self, *args, **kwargs) def _dump_results(self, result): @@ -57,7 +58,7 @@ class CallbackModule(DEFAULT_MODULE.CallbackModule): # pylint: disable=too-few- if key in result: save[key] = result.pop(key) - output = BASECLASS._dump_results(self, result) # pylint: disable=protected-access + output = BASECLASS._dump_results(self, result) # pylint: disable=protected-access for key in ['stdout', 'stderr', 'msg']: if key in save and save[key]: |