Commit daebe39f authored by Nicolas Delaby's avatar Nicolas Delaby

revert r35754 done by mistake

Sorry.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35756 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4a8dac52
...@@ -225,8 +225,7 @@ class File(Document, CMFFile): ...@@ -225,8 +225,7 @@ class File(Document, CMFFile):
return (mime_type, content) return (mime_type, content)
security.declareProtected(Permissions.AccessContentsInformation, 'convert') def _convert(self, format, **kw):
def convert(self, format, **kw):
"""According content_type of data we can proceed some Conversions. """According content_type of data we can proceed some Conversions.
The idea is to wrap data into TempDocument who support conversion The idea is to wrap data into TempDocument who support conversion
then return conversion from this temporary document. then return conversion from this temporary document.
......
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