[Erp5-report] r7857 - /erp5/trunk/products/ERP5/Document/SimulationMovement.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Jun 19 14:25:31 CEST 2006
Author: jerome
Date: Mon Jun 19 14:25:26 2006
New Revision: 7857
URL: http://svn.erp5.org?rev=7857&view=rev
Log:
fix redefining builtin exception name in except clause; from Patrick Gerken.
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=7857&r1=7856&r2=7857&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/SimulationMovement.py (original)
+++ erp5/trunk/products/ERP5/Document/SimulationMovement.py Mon Jun 19 14:25:26 2006
@@ -163,7 +163,7 @@
try:
parent_state = self.aq_parent.getSimulationState()
return parent_to_movement_simulation_state[parent_state]
- except KeyError, AttributeError:
+ except (KeyError, AttributeError):
LOG('ERP5 WARNING:',100, 'Could not acquire getSimulationState on %s'
% self.getRelativeUrl())
return None
More information about the Erp5-report
mailing list