Commit f3a03935 authored by Nicolas Dumazet's avatar Nicolas Dumazet

fix typo in log message


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41741 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4053649e
...@@ -1367,6 +1367,7 @@ def setDefaultProperties(property_holder, object=None, portal=None): ...@@ -1367,6 +1367,7 @@ def setDefaultProperties(property_holder, object=None, portal=None):
if isinstance(write_permission, Expression): if isinstance(write_permission, Expression):
write_permission = write_permission(econtext) write_permission = write_permission(econtext)
if prop['type'] not in type_definition: if prop['type'] not in type_definition:
import pdb; pdb.set_trace()
raise TypeError, '"%s" is invalid type for propertysheet' % \ raise TypeError, '"%s" is invalid type for propertysheet' % \
prop['type'] prop['type']
if 'base_id' in prop: if 'base_id' in prop:
......
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