Commit 3f1dba4a authored by Jérome Perrin's avatar Jérome Perrin Committed by Aurel

fixup! ZODB Components: add getContentType method

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