entity.py
branchtls-sprint
changeset 1098 739d4dce9b19
parent 1090 a99dc223c583
child 1101 0c067de38e46
--- a/entity.py	Thu Mar 12 16:34:13 2009 +0100
+++ b/entity.py	Thu Mar 12 18:40:24 2009 +0100
@@ -461,17 +461,6 @@
             needcheck = False
         return mainattr, needcheck
 
-    @cached
-    def formatted_attrs(self):
-        """returns the list of attributes which have some format information
-        (i.e. rich text strings)
-        """
-        attrs = []
-        for rschema, attrschema in self.e_schema.attribute_definitions():
-            if attrschema.type == 'String' and self.has_format(rschema):
-                attrs.append(rschema.type)
-        return attrs
-
     @classmethod
     @obsolete('use method of the same name on the schema')
     def has_format(cls, attr):