fixed signature for init on callbacks

also removed passing display to base class which already handles this
This commit is contained in:
Brian Coca 2015-12-01 13:28:16 -08:00
parent e1bcb43e76
commit 3e01516783
7 changed files with 14 additions and 14 deletions

View file

@ -45,9 +45,9 @@ class CallbackModule(CallbackBase):
TIME_FORMAT="%b %d %Y %H:%M:%S"
MSG_FORMAT="%(now)s - %(category)s - %(data)s\n\n"
def __init__(self, display):
def __init__(self):
super(CallbackModule, self).__init__(display)
super(CallbackModule, self).__init__()
if not os.path.exists("/var/log/ansible/hosts"):
os.makedirs("/var/log/ansible/hosts")