Merge pull request #43672 from rallytime/bp-43415

Back-port #43415 to 2016.11
This commit is contained in:
Mike Place 2017-09-21 10:38:55 -06:00 committed by GitHub
commit 1d4fa48209

View File

@ -2906,7 +2906,7 @@ class BaseHighState(object):
Returns:
{'saltenv': ['state1', 'state2', ...]}
'''
matches = {}
matches = DefaultOrderedDict(OrderedDict)
# pylint: disable=cell-var-from-loop
for saltenv, body in six.iteritems(top):
if self.opts['environment']: