mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #29381 from nmadhok/2015.8-runtime-fix
No need to deepcopy since six.iterkeys() creates a copy
This commit is contained in:
commit
fd677e1d58
1 changed files with 1 additions and 2 deletions
|
@ -285,9 +285,8 @@ class SyncClientMixin(object):
|
|||
# Inject some useful globals to *all* the function's global
|
||||
# namespace only once per module-- not per func
|
||||
completed_funcs = []
|
||||
_functions = copy.deepcopy(self.functions)
|
||||
|
||||
for mod_name in six.iterkeys(_functions):
|
||||
for mod_name in six.iterkeys(self.functions):
|
||||
if '.' not in mod_name:
|
||||
continue
|
||||
mod, _ = mod_name.split('.', 1)
|
||||
|
|
Loading…
Add table
Reference in a new issue