From b5d98c297afd93d11b6bdddfada935a3370d01d2 Mon Sep 17 00:00:00 2001 From: Nicolas Dumazet <nicolas.dumazet@nexedi.com> Date: Mon, 28 Dec 2009 07:26:58 +0000 Subject: [PATCH] if anything else than KeyError is caught here, it should be done explicitely git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31471 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/Document/SimulationMovement.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product/ERP5/Document/SimulationMovement.py b/product/ERP5/Document/SimulationMovement.py index 3dd0e8ce33..7cb1c7dbd5 100644 --- a/product/ERP5/Document/SimulationMovement.py +++ b/product/ERP5/Document/SimulationMovement.py @@ -547,7 +547,7 @@ class SimulationMovement(Movement, PropertyRecordableMixin): if cache_enabled: try: return cache[rule_key] - except: + except KeyError: result = getTreeDelivered(self, ignore_first=ignore_first) cache[rule_key] = result return result -- 2.30.9