Remove redundant fnmatch call

This commit is contained in:
Colton Myers 2013-05-23 11:18:10 -06:00
parent d8e85f0935
commit 51488519e5

View File

@ -1991,7 +1991,7 @@ class BaseHighState(object):
'No matching sls found for \'{0}\' in env \'{1}\''
.format(sls_match, env)
)
for sls in fnmatch.filter(self.avail[env], sls_match):
for sls in statefiles:
state, errors = self.render_state(sls, env, mods, matches)
if state:
self.merge_included_states(highstate, state, errors)