Commit 3c8cd75c authored by Yusei Tahara's avatar Yusei Tahara

Stop to use recursive call.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15560 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent af04c9b2
...@@ -86,7 +86,8 @@ def isListBox(field):\n ...@@ -86,7 +86,8 @@ def isListBox(field):\n
return True\n return True\n
elif field.meta_type==\'ProxyField\':\n elif field.meta_type==\'ProxyField\':\n
template_field = field.getRecursiveTemplateField()\n template_field = field.getRecursiveTemplateField()\n
return isListBox(template_field)\n if template_field.meta_type==\'ListBox\':\n
return True\n
return False\n return False\n
\n \n
# we start with \'bottom\' because most of the time\n # we start with \'bottom\' because most of the time\n
......
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