Fixing bad for py3 dict.iteritems() usage after refactoring of Catalog using metaclasses

This commit is contained in:
Roman Mogilatov 2015-07-17 19:42:59 +03:00
parent 71101d98f8
commit ab5bc6a503

View File

@ -15,7 +15,7 @@ class CatalogMetaClass(type):
"""Meta class factory.""" """Meta class factory."""
providers = dict() providers = dict()
new_attributes = dict() new_attributes = dict()
for name, value in attributes.iteritems(): for name, value in iteritems(attributes):
if is_provider(value): if is_provider(value):
providers[name] = value providers[name] = value
new_attributes[name] = value new_attributes[name] = value