Commit b5d98c29 authored by Nicolas Dumazet's avatar Nicolas Dumazet

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
parent 95e4d93a
...@@ -547,7 +547,7 @@ class SimulationMovement(Movement, PropertyRecordableMixin): ...@@ -547,7 +547,7 @@ class SimulationMovement(Movement, PropertyRecordableMixin):
if cache_enabled: if cache_enabled:
try: try:
return cache[rule_key] return cache[rule_key]
except: except KeyError:
result = getTreeDelivered(self, ignore_first=ignore_first) result = getTreeDelivered(self, ignore_first=ignore_first)
cache[rule_key] = result cache[rule_key] = result
return result return result
......
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