Commit e2395810 authored by Romain Courteaud's avatar Romain Courteaud

Remove a lambda call.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@7182 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 30e102b0
......@@ -130,6 +130,8 @@ class DeliveryBuilder(OrderBuilder):
# XXX Use buildSQLQuery will be better
movement_list = filter(lambda x: x.getDeliveryRelatedValueList()==[],
movement_list)
movement_list = [x for x in movement_list if \
x.getDeliveryRelatedValueList()==[]]
# XXX Add predicate test
# XXX FIXME Check that there is no double in the list
# Because we can't trust simulation_select_method
......
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