Merge pull request #36025 from cloudflare/CF-FIX-36021

Potential fix for #36021
This commit is contained in:
Mike Place 2016-09-13 16:46:41 +09:00 committed by GitHub
commit d9d477ed45

View file

@ -349,7 +349,7 @@ class SyncClientMixin(object):
kwargs = low['kwargs']
# Update the event data with loaded args and kwargs
data['fun_args'] = args + ([kwargs] if kwargs else [])
data['fun_args'] = list(args) + ([kwargs] if kwargs else [])
func_globals['__jid_event__'].fire_event(data, 'new')
# Initialize a context for executing the method.