mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
fixed signature for init on callbacks
also removed passing display to base class which already handles this
This commit is contained in:
@@ -16,9 +16,9 @@ class CallbackModule(CallbackBase):
|
||||
CALLBACK_NAME = 'timer'
|
||||
CALLBACK_NEEDS_WHITELIST = True
|
||||
|
||||
def __init__(self, display):
|
||||
def __init__(self):
|
||||
|
||||
super(CallbackModule, self).__init__(display)
|
||||
super(CallbackModule, self).__init__()
|
||||
|
||||
self.start_time = datetime.now()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user