--- a/entity.py Thu Sep 10 08:13:22 2009 +0200
+++ b/entity.py Fri Sep 11 15:57:34 2009 +0200
@@ -321,7 +321,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
"""
@@ -351,7 +351,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