Forgot to pop the include before rendering the high data

This commit is contained in:
Thomas S Hatch 2011-05-29 22:36:51 -06:00
parent cfb5469ae6
commit e913c81777

View file

@ -359,7 +359,7 @@ class HighState(object):
mods.add(sls)
if state:
if state.has_key('include'):
for sub_sls in state['include']:
for sub_sls in state.pop('include'):
if not list(mods).count(sub_sls):
nstate, mods = self.render_state(sub_sls, env, mods)
if nstate: