Commit d7de4015 authored by Kevin Deldycke's avatar Kevin Deldycke

typo


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4058 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9df631f2
......@@ -72,7 +72,7 @@ class FolderMixIn(ExtensionClass.Base):
else:
new_id = str(id)
if not container.allowedContentTypes():
raise 'NoAllowedContenTypesError'
raise 'NoAllowedContentTypesError'
if portal_type is None: portal_type = container.allowedContentTypes()[0].id
self.portal_types.constructContent(type_name=portal_type,
container=container,
......
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