fix localized set options in callbacks

signature changed but callbacks overriding it were not updated

fixes #33006
This commit is contained in:
Brian Coca 2017-11-17 12:27:32 -05:00 committed by Brian Coca
parent 84117e57ba
commit 53cbc9f6ee
4 changed files with 8 additions and 9 deletions

View file

@ -88,9 +88,9 @@ class CallbackModule(CallbackBase):
self.last_task_name = None
self.printed_last_task = False
def set_options(self, options):
def set_options(self, task_keys=None, var_options=None, direct=None):
super(CallbackModule, self).set_options(options)
super(CallbackModule, self).set_options(task_keys=task_keys, var_options=var_options, direct=direct)
global DONT_COLORIZE
DONT_COLORIZE = self._plugin_options['nocolor']