Commit ad7e204d authored by Jérome Perrin's avatar Jérome Perrin

one space is enough here


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26279 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 6194225d
...@@ -1671,7 +1671,7 @@ class PortalTypeAllowedContentTypeTemplateItem(BaseTemplateItem): ...@@ -1671,7 +1671,7 @@ class PortalTypeAllowedContentTypeTemplateItem(BaseTemplateItem):
ob = types_tool._getOb(portal_type) ob = types_tool._getOb(portal_type)
prop_value = getattr(ob, self.class_property, ()) prop_value = getattr(ob, self.class_property, ())
if not allowed_type in prop_value and not self.is_bt_for_diff: if not allowed_type in prop_value and not self.is_bt_for_diff:
raise ValueError, "%s %s not found in portal type %s" % ( raise ValueError, "%s %s not found in portal type %s" % (
getattr(self, 'name', self.__class__.__name__), getattr(self, 'name', self.__class__.__name__),
allowed_type, portal_type) allowed_type, portal_type)
......
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