Commit 8fbf2dd8 authored by Nicolas Delaby's avatar Nicolas Delaby

typo

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33766 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 256ff5f6
...@@ -2077,7 +2077,7 @@ class PortalTypeAllowedContentTypeTemplateItem(BaseTemplateItem): ...@@ -2077,7 +2077,7 @@ class PortalTypeAllowedContentTypeTemplateItem(BaseTemplateItem):
for portal_type in portal_type_list: for portal_type in portal_type_list:
id = portal_type.get('id') id = portal_type.get('id')
item_type_list = [item.text for item in portal_type.findall('item')] item_type_list = [item.text for item in portal_type.findall('item')]
if self.class_property not in id if self.class_property not in id:
key = '%s/%s' % (self.class_property, id,) key = '%s/%s' % (self.class_property, id,)
else: else:
key = id key = id
......
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