From a6a87ae733a6c56a1b7610eb7f6ddbdef8e00806 Mon Sep 17 00:00:00 2001 From: Romain Courteaud <romain@nexedi.com> Date: Thu, 11 May 2006 12:13:43 +0000 Subject: [PATCH] Forgot to remove the lambda call... git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@7198 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/Document/DeliveryBuilder.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/product/ERP5/Document/DeliveryBuilder.py b/product/ERP5/Document/DeliveryBuilder.py index c74be1f2a1..8eb30b3133 100644 --- a/product/ERP5/Document/DeliveryBuilder.py +++ b/product/ERP5/Document/DeliveryBuilder.py @@ -128,8 +128,6 @@ class DeliveryBuilder(OrderBuilder): select_method = getattr(self.getPortalObject(), self.simulation_select_method_id) movement_list = select_method(**kw) # 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 -- 2.30.9