Commit 10c68910 authored by Jérome Perrin's avatar Jérome Perrin

core: fix a few typos in BaseConvertableFileMixin

parent 206cd26f
......@@ -39,11 +39,11 @@ class BaseConvertableFileMixin:
"""
This class provides a generic implementation of IBaseConvertable.
This Mixin combine BaseConvertable and Files documents.
getBaseData is overrided to serialise Pdata into string
_setBaseData is overrided to wrapp data into Pdata
getBaseData is overridden to serialise Pdata into string
_setBaseData is overridden to wrap data into Pdata
- updateBaseMetadata is not implemented in this mixin and must be
explicitely overrided if needed.
explicitly overridden if needed.
"""
......@@ -61,7 +61,7 @@ class BaseConvertableFileMixin:
if not self.hasData():
# Empty document cannot be converted
return
message = self._convertToBaseFormat() # Call implemetation method
message = self._convertToBaseFormat() # Call implementation method
if message is None:
message = translateString('Converted to ${mime_type}.',
mapping={'mime_type': self.getBaseContentType()})
......@@ -73,7 +73,7 @@ class BaseConvertableFileMixin:
security.declareProtected(Permissions.ModifyPortalContent, 'updateBaseMetadata')
def updateBaseMetadata(self, **kw):
"""This Method must be defined explicitely.
"""This Method must be defined explicitly.
"""
raise NotImplementedError
......
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