22 May
2003
22 May
'03
1:20 p.m.
What about replacing the default propertyLabel of PropertyManager with the one from CMF: def propertyLabel(self, id): """Return a label for the given property id """ for p in self._properties: if p['id'] == id: return p.get('label', id) return id The current one: def propertyLabel(self, id): """Return a label for the given property id """ return id Is kinda silly and this little change would make things neater, and remove the use of having it a separate function in CMF, where it really doesn't belong. Thoughts?