mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
This time I banged my head on the table extra-hard.
This commit is contained in:
parent
9589ebf254
commit
c1cd9c1934
@ -781,8 +781,8 @@ class Loader(object):
|
||||
not str(mod.__name__).startswith('salt.loaded.int.grain')
|
||||
):
|
||||
mod.__salt__ = funcs
|
||||
elif hasattr(mod, '__salt__') and (not in_pack(pack, '__salt__') and \
|
||||
str(mod.__name__).startswith('salt.loaded.int.grain')
|
||||
elif hasattr(mod, '__salt__') and (not in_pack(pack, '__salt__' and \
|
||||
str(mod.__name__).startswith('salt.loaded.int.grain'))
|
||||
):
|
||||
mod.__salt__.update(funcs)
|
||||
return funcs
|
||||
|
Loading…
Reference in New Issue
Block a user