entity.py
branch3.5
changeset 3165 0a50ebe53db7
parent 3050 f4c1994a749d
child 3184 613064b49331
--- a/entity.py	Tue Sep 08 20:08:10 2009 +0200
+++ b/entity.py	Tue Sep 08 17:27:33 2009 -0700
@@ -427,7 +427,7 @@
         return value
 
     def printable_value(self, attr, value=_marker, attrtype=None,
-                        format='text/html', displaytime=True):
+                        format='text/html'):
         """return a displayable value (i.e. unicode string) which may contains
         html tags
         """
@@ -457,7 +457,7 @@
                 return self.mtc_transform(value.getvalue(), attrformat, format,
                                           encoding)
             return u''
-        value = printable_value(self.req, attrtype, value, props, displaytime)
+        value = printable_value(self.req, attrtype, value, props)
         if format == 'text/html':
             value = xml_escape(value)
         return value