diff --git a/mayan/apps/common/classes.py b/mayan/apps/common/classes.py index 1cc2a2c94f..bc1b82d712 100644 --- a/mayan/apps/common/classes.py +++ b/mayan/apps/common/classes.py @@ -188,7 +188,7 @@ class ModelAttribute(object): result = [] try: - for type_name, attributes in cls.__registry[model].iteritems(): + for type_name, attributes in cls.__registry[model].items(): if not type_names or type_name in type_names: result.extend(attributes)