Commit cba2229b authored by Aurel's avatar Aurel

when generating documentation helper, do not fail if no description

defined in property sheet


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34700 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e4f9027b
...@@ -3640,7 +3640,7 @@ class Base( CopyContainer, ...@@ -3640,7 +3640,7 @@ class Base( CopyContainer,
continue continue
seen_properties.append(property) seen_properties.append(property)
subdochelper = newTempDocumentationHelper(dochelper, k, subdochelper = newTempDocumentationHelper(dochelper, k,
title=property['id'], description=property['description'], title=property['id'], description=property.get('description', ''),
type=property['type'], security=property['mode'], type=property['type'], security=property['mode'],
content=pformat(documented_item.getProperty(property['id']))) content=pformat(documented_item.getProperty(property['id'])))
subdochelper_dynamic_accessor_list = [] subdochelper_dynamic_accessor_list = []
......
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