This time I banged my head on the table extra-hard.

This commit is contained in:
Mike Place 2014-06-05 15:31:08 -06:00
parent 9589ebf254
commit c1cd9c1934

View File

@ -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