mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Fix wrong iteration from PY3 compat changes
This commit is contained in:
parent
56ec78408d
commit
4d6f173d75
@ -2822,7 +2822,7 @@ class BaseHighState(object):
|
||||
def clean_duplicate_extends(self, highstate):
|
||||
if '__extend__' in highstate:
|
||||
highext = []
|
||||
for items in six.iteritems((ext) for ext in highstate['__extend__']):
|
||||
for items in (six.iteritems(ext) for ext in highstate['__extend__']):
|
||||
for item in items:
|
||||
if item not in highext:
|
||||
highext.append(item)
|
||||
|
Loading…
Reference in New Issue
Block a user