cwvreg.py
changeset 10662 10942ed172de
parent 10499 d0907690af55
child 10663 54b8a1f249fb
--- a/cwvreg.py	Tue Sep 08 18:04:57 2015 +0200
+++ b/cwvreg.py	Tue Sep 15 16:15:03 2015 +0200
@@ -382,7 +382,7 @@
         return [item for item in super(CWRegistryStore, self).items()
                 if not item[0] in ('propertydefs', 'propertyvalues')]
     def iteritems(self):
-        return (item for item in super(CWRegistryStore, self).iteritems()
+        return (item for item in super(CWRegistryStore, self).items()
                 if not item[0] in ('propertydefs', 'propertyvalues'))
 
     def values(self):
@@ -576,7 +576,7 @@
         if withsitewide:
             return sorted(k for k in self['propertydefs']
                           if not k.startswith('sources.'))
-        return sorted(k for k, kd in self['propertydefs'].iteritems()
+        return sorted(k for k, kd in self['propertydefs'].items()
                       if not kd['sitewide'] and not k.startswith('sources.'))
 
     def register_property(self, key, type, help, default=None, vocabulary=None,