This commit is contained in:
James Cammarata 2016-01-14 11:57:12 -05:00
parent 0b86aa62e1
commit abc82fee13

View file

@ -296,7 +296,7 @@ class TaskQueueManager:
if method_name == 'v2_playbook_on_start':
import inspect
(f_args, f_varargs, f_keywords, f_defaults) = inspect.getargspec(method)
if 'playbook' in args:
if 'playbook' in f_args:
method(*args, **kwargs)
else:
method()