Commit b68d4694 authored by Bartek Górny's avatar Bartek Górny

some fixes

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@9519 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5fd2a423
......@@ -94,6 +94,7 @@ class CachingMixin:
self.cached_mime[format]=mime
if data is not None:
self.cached_data[format]=data
self._p_changed=1
def cacheGet(self,format):
'''
......@@ -123,7 +124,7 @@ class CachingMixin:
data=data.next
else:
ln='no data!!!'
s+='<tr><td>%s</td><td>%s</td><td>%s</td><td>%s</td></tr>' % (f,str(ln),str(t),str(self.isFileChanged(f)))
s+='<tr><td>%s</td><td>%s</td><td>%s</td><td>%s</td></tr>' % (f,str(ln),str(t),'-')
s+='</table>'
return s
......
......@@ -87,6 +87,7 @@ class PdfDocument(DMSFile, CachingMixin):
SearchableText=getSearchableText
security.declareProtected(Permissions.View, 'getHtmlRepresentation')
def getHtmlRepresentation(self, force=0):
'''
get simplified html version to display
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment