--- 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()