Commit 6d82a8c0 authored by Vincent Pelletier's avatar Vincent Pelletier

Fix typo in comment.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16170 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 7c2c1c35
......@@ -1634,7 +1634,7 @@ def createDefaultAccessors(property_holder, id, prop = None,
elif prop['type'] in list_types or prop.get('multivalued', 0):
# The base accessor returns the first item in a list
# and simulates a simple property
# The default value is the first elelement of prop.get('default') is it exists
# The default value is the first element of prop.get('default') if it exists
default = prop.get('default')
try:
default = default[0]
......
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