[CMF-checkins] CVS: Products/CMFCore - utils.py:1.59.2.2

Yvo Schubbe y.2004_ at wcm-solutions.de
Mon Sep 6 03:04:41 EDT 2004


Update of /cvs-repository/Products/CMFCore
In directory cvs.zope.org:/tmp/cvs-serv15617/CMFCore

Modified Files:
      Tag: CMF-1_5-branch
	utils.py 
Log Message:
- removed redundant propertyLabel method (since Zope 2.7 the code is part of PropertyManager)


=== Products/CMFCore/utils.py 1.59.2.1 => 1.59.2.2 ===
--- Products/CMFCore/utils.py:1.59.2.1	Fri Sep  3 11:00:38 2004
+++ Products/CMFCore/utils.py	Mon Sep  6 03:04:39 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