Commit 208055f0 authored by Jérome Perrin's avatar Jérome Perrin

we don't want to display raw file content on __str__ like in OFS.File

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40379 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent fe006950
...@@ -88,6 +88,9 @@ class File(Document, CMFFile): ...@@ -88,6 +88,9 @@ class File(Document, CMFFile):
, PropertySheet.Periodicity , PropertySheet.Periodicity
) )
# OFS.File has an overloaded __str__ that returns the file content
__str__ = object.__str__
### Special edit method ### Special edit method
security.declarePrivate( '_edit' ) security.declarePrivate( '_edit' )
def _edit(self, **kw): def _edit(self, **kw):
......
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