From 9a140d31205262532d1d14d60fe78fc32b4afdb9 Mon Sep 17 00:00:00 2001 From: Vincent Pelletier <vincent@nexedi.com> Date: Thu, 30 Aug 2007 08:15:23 +0000 Subject: [PATCH] Oops, new test breaks things. So, better replace an always-true-test by no test at all. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15942 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/Tool/SimulationTool.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/product/ERP5/Tool/SimulationTool.py b/product/ERP5/Tool/SimulationTool.py index 027233497c..58985e4192 100644 --- a/product/ERP5/Tool/SimulationTool.py +++ b/product/ERP5/Tool/SimulationTool.py @@ -489,8 +489,7 @@ class SimulationTool(BaseTool): elif at_date : date_dict['query'].append(at_date) date_dict['range'] = 'ngt' - if len(date_dict['query']): - column_value_dict['date'] = date_dict + column_value_dict['date'] = date_dict else: column_value_dict['date'] = {'query': [to_date], 'range': 'ngt'} column_value_dict['mirror_date'] = {'query': [from_date], 'range': 'nlt'} -- 2.30.9