use self.avail to avoid repeated calls to fileserver

This commit is contained in:
Thomas S Hatch 2013-10-01 11:16:19 -06:00
parent 30510272a0
commit 3fe2dd80e2

View File

@ -1987,7 +1987,7 @@ class BaseHighState(object):
# target so that the next recursion of render_state
# will recognize the error.
sls_targets = fnmatch.filter(
self.client.list_states(env),
self.avail[env],
inc_sls
) or [inc_sls]