equal
deleted
inserted
replaced
238 return self[regid] |
238 return self[regid] |
239 |
239 |
240 def items(self): |
240 def items(self): |
241 return [item for item in super(CubicWebVRegistry, self).items() |
241 return [item for item in super(CubicWebVRegistry, self).items() |
242 if not item[0] in ('propertydefs', 'propertyvalues')] |
242 if not item[0] in ('propertydefs', 'propertyvalues')] |
|
243 def iteritems(self): |
|
244 return (item for item in super(CubicWebVRegistry, self).iteritems() |
|
245 if not item[0] in ('propertydefs', 'propertyvalues')) |
243 |
246 |
244 def values(self): |
247 def values(self): |
245 return [value for key, value in self.items()] |
248 return [value for key, value in self.items()] |
|
249 def itervalues(self): |
|
250 return (value for key, value in self.items()) |
246 |
251 |
247 def reset(self): |
252 def reset(self): |
248 super(CubicWebVRegistry, self).reset() |
253 super(CubicWebVRegistry, self).reset() |
249 self._needs_iface = {} |
254 self._needs_iface = {} |
250 # two special registries, propertydefs which care all the property |
255 # two special registries, propertydefs which care all the property |