Commit ace976b3 authored by Yusei Tahara's avatar Yusei Tahara

Prevent infinite loop to make sure.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25503 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d0b0b39e
......@@ -61,6 +61,8 @@
def iterate(trade_condition, trade_condition_list):\n
if trade_condition is None:\n
return\n
elif trade_condition in trade_condition_list:\n
return\n
else:\n
trade_condition_list.append(trade_condition)\n
for next_trade_condition in trade_condition.getSpecialiseValueList():\n
......
590
\ No newline at end of file
591
\ No newline at end of file
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