[Erp5-report] r31471 nicolas.dumazet - /erp5/trunk/products/ERP5/Document/
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Dec 28 08:26:59 CET 2009
Author: nicolas.dumazet
Date: Mon Dec 28 08:26:58 2009
New Revision: 31471
URL: http://svn.erp5.org?rev=31471&view=rev
Log:
if anything else than KeyError is caught here, it should be done explicitely
Modified:
erp5/trunk/products/ERP5/Document/SimulationMovement.py
Modified: erp5/trunk/products/ERP5/Document/SimulationMovement.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/SimulationMovement.py?rev=31471&r1=31470&r2=31471&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/SimulationMovement.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Document/SimulationMovement.py [utf8] Mon Dec 28 08:26:58 2009
@@ -547,7 +547,7 @@
if cache_enabled:
try:
return cache[rule_key]
- except:
+ except KeyError:
result = getTreeDelivered(self, ignore_first=ignore_first)
cache[rule_key] = result
return result
More information about the Erp5-report
mailing list