Backporting fix for issue #25223 on 2015.8 branch

This commit is contained in:
Nitin Madhok 2015-07-08 02:24:29 -04:00
parent 6fe7ebd583
commit 331b27712c

View File

@ -285,7 +285,9 @@ class SyncClientMixin(object):
# Inject some useful globals to *all* the funciton's global
# namespace only once per module-- not per func
completed_funcs = []
for mod_name in six.iterkeys(self.functions):
_functions = copy.deepcopy(self.functions)
for mod_name in six.iterkeys(_functions):
if '.' not in mod_name:
continue
mod, _ = mod_name.split('.', 1)