diff --git a/product/ERP5/Document/SimulationMovement.py b/product/ERP5/Document/SimulationMovement.py index 3dd0e8ce33887169fc057bffefa93fd6a2942b2f..7cb1c7dbd5c08a24c77a3263b2909833f23821e8 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