Commit 653efceb authored by Nicolas Delaby's avatar Nicolas Delaby

Same as r35749

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35751 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 50676ced
......@@ -224,8 +224,7 @@ class File(Document, CMFFile):
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.
The idea is to wrap data into TempDocument who support conversion
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