Commit a6a87ae7 authored by Romain Courteaud's avatar Romain Courteaud

Forgot to remove the lambda call...


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@7198 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c9311353
...@@ -128,8 +128,6 @@ class DeliveryBuilder(OrderBuilder): ...@@ -128,8 +128,6 @@ class DeliveryBuilder(OrderBuilder):
select_method = getattr(self.getPortalObject(), self.simulation_select_method_id) select_method = getattr(self.getPortalObject(), self.simulation_select_method_id)
movement_list = select_method(**kw) movement_list = select_method(**kw)
# XXX Use buildSQLQuery will be better # XXX Use buildSQLQuery will be better
movement_list = filter(lambda x: x.getDeliveryRelatedValueList()==[],
movement_list)
movement_list = [x for x in movement_list if \ movement_list = [x for x in movement_list if \
x.getDeliveryRelatedValueList()==[]] x.getDeliveryRelatedValueList()==[]]
# XXX Add predicate test # XXX Add predicate test
......
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