cwvreg.py
changeset 2669 cab66dfe0db6
parent 2659 b6f6964bddd3
child 2684 c84691380dd4
--- a/cwvreg.py	Tue Aug 04 00:51:00 2009 +0200
+++ b/cwvreg.py	Tue Aug 04 00:54:41 2009 +0200
@@ -240,9 +240,14 @@
     def items(self):
         return [item for item in super(CubicWebVRegistry, self).items()
                 if not item[0] in ('propertydefs', 'propertyvalues')]
+    def iteritems(self):
+        return (item for item in super(CubicWebVRegistry, self).iteritems()
+                if not item[0] in ('propertydefs', 'propertyvalues'))
 
     def values(self):
         return [value for key, value in self.items()]
+    def itervalues(self):
+        return (value for key, value in self.items())
 
     def reset(self):
         super(CubicWebVRegistry, self).reset()