mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-11-22 17:47:02 +03:00
Fixing bad for py3 dict.iteritems() usage after refactoring of Catalog using metaclasses
This commit is contained in:
parent
71101d98f8
commit
ab5bc6a503
|
@ -15,7 +15,7 @@ class CatalogMetaClass(type):
|
|||
"""Meta class factory."""
|
||||
providers = dict()
|
||||
new_attributes = dict()
|
||||
for name, value in attributes.iteritems():
|
||||
for name, value in iteritems(attributes):
|
||||
if is_provider(value):
|
||||
providers[name] = value
|
||||
new_attributes[name] = value
|
||||
|
|
Loading…
Reference in New Issue
Block a user