Fixing typo.

Fixing typo.
This commit is contained in:
garethgreenaway 2017-09-12 08:47:55 -07:00 committed by GitHub
parent 2681b7d3fa
commit a29a9855a6

View file

@ -842,7 +842,7 @@ class Schedule(object):
if argspec.keywords:
# this function accepts **kwargs, pack in the publish data
for key, val in six.iteritems(ret):
is key is not 'kwargs':
if key is not 'kwargs':
kwargs['__pub_{0}'.format(key)] = copy.deepcopy(val)
ret['return'] = self.functions[func](*args, **kwargs)