[CMF-checkins] CVS: Products/CMFCore - utils.py:1.61
Yvo Schubbe
y.2004_ at wcm-solutions.de
Mon Sep 6 03:05:11 EDT 2004
Update of /cvs-repository/Products/CMFCore
In directory cvs.zope.org:/tmp/cvs-serv15860/CMFCore
Modified Files:
utils.py
Log Message:
- removed redundant propertyLabel method (since Zope 2.7 the code is part of PropertyManager)
=== Products/CMFCore/utils.py 1.60 => 1.61 ===
--- Products/CMFCore/utils.py:1.60 Fri Sep 3 10:55:31 2004
+++ Products/CMFCore/utils.py Mon Sep 6 03:05:10 2004
@@ -388,15 +388,6 @@
form = PropertyManager.manage_propertiesForm.__of__(self)
return form(self, REQUEST, *args, **my_kw)
- security.declarePublic('propertyLabel')
- 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
-
InitializeClass( SimpleItemWithProperties )
More information about the CMF-checkins
mailing list