mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
fix pyobjects loader change
This commit is contained in:
parent
27ab725cf4
commit
7e91de265c
@ -306,6 +306,8 @@ def load_states():
|
||||
|
||||
# TODO: some way to lazily do this? This requires loading *all* state modules
|
||||
for key, func in lazy_states.iteritems():
|
||||
if '.' not in key:
|
||||
continue
|
||||
mod_name, func_name = key.split('.', 1)
|
||||
if mod_name not in states:
|
||||
states[mod_name] = {}
|
||||
|
Loading…
Reference in New Issue
Block a user