From 93431c09cebd1319b6eeb45291b142f566a71aed Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Tue, 29 Aug 2017 02:05:02 -0400 Subject: [PATCH] Use items() instead of iteritems(). Signed-off-by: Roberto Rosario --- mayan/apps/common/classes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)