Fix wrong iteration from PY3 compat changes

This commit is contained in:
Pedro Algarvio 2015-01-28 15:33:07 +00:00
parent 56ec78408d
commit 4d6f173d75

View File

@ -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)