mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
fixed signature for init on callbacks
also removed passing display to base class which already handles this
This commit is contained in:
@@ -71,11 +71,11 @@ class CallbackModule(CallbackBase):
|
||||
CALLBACK_NAME = 'profile_tasks'
|
||||
CALLBACK_NEEDS_WHITELIST = True
|
||||
|
||||
def __init__(self, display):
|
||||
def __init__(self):
|
||||
self.stats = {}
|
||||
self.current = None
|
||||
|
||||
super(CallbackModule, self).__init__(display)
|
||||
super(CallbackModule, self).__init__()
|
||||
|
||||
def _record_task(self, name):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user