Commit 3db46412 authored by Jérome Perrin's avatar Jérome Perrin

fixup! ZODB Components: add getContentType method

parent 2b92d32b
...@@ -221,7 +221,7 @@ class ComponentMixin(PropertyRecordableMixin, Base): ...@@ -221,7 +221,7 @@ class ComponentMixin(PropertyRecordableMixin, Base):
security.declareProtected(Permissions.AccessContentsInformation, security.declareProtected(Permissions.AccessContentsInformation,
'getContentType') 'getContentType')
def getContentType(self, default=None): def getContentType(self, default=None):
"""Returns the text content. """Returns the content type.
""" """
return "text/x-python" return "text/x-python"
......
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