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

fixup! ZODB Components: add getContentType method

parent 2b92d32b
Pipeline #15904 failed with stage
......@@ -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