Commit 36e6a2c3 authored by Fabien Morin's avatar Fabien Morin

add XXX


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27769 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 600ce219
...@@ -225,7 +225,7 @@ class TradeCondition(Path, Transformation, XMLMatrix): ...@@ -225,7 +225,7 @@ class TradeCondition(Path, Transformation, XMLMatrix):
self.getTradeModelLineComposedList(context) self.getTradeModelLineComposedList(context)
need_to_run = 1 need_to_run = 1
while need_to_run: while need_to_run: # XXX Dangerous code. This can leed to infinite loop
need_to_run = 0 need_to_run = 0
for model_line in trade_model_line_composed_list: for model_line in trade_model_line_composed_list:
model_line_result = model_line.getAggregatedAmountList(context, model_line_result = model_line.getAggregatedAmountList(context,
......
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