Commit 12c18c6b authored by Aurel's avatar Aurel

fix typo error


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4941 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 2020c3cd
...@@ -1177,9 +1177,9 @@ class PortalTypeAllowedContentTypeTemplateItem(BaseTemplateItem): ...@@ -1177,9 +1177,9 @@ class PortalTypeAllowedContentTypeTemplateItem(BaseTemplateItem):
continue continue
property_list = self._objects[key] property_list = self._objects[key]
original_property_list = getattr(portal_type, self.class_property, ()) original_property_list = getattr(portal_type, self.class_property, ())
for id in propert_list: for id in property_list:
if id in original_propert_list: if id in original_property_list:
original_propert_list.remove(id) original_property_list.remove(id)
setattr(portal_type, self.class_property, list(original_property_list)) setattr(portal_type, self.class_property, list(original_property_list))
class PortalTypeHiddenContentTypeTemplateItem(PortalTypeAllowedContentTypeTemplateItem): class PortalTypeHiddenContentTypeTemplateItem(PortalTypeAllowedContentTypeTemplateItem):
......
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