[Erp5-report] r14214 - /erp5/trunk/products/ERP5Type/XMLMatrix.py

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Apr 25 03:10:32 CEST 2007


Author: yo
Date: Wed Apr 25 03:10:30 2007
New Revision: 14214

URL: http://svn.erp5.org?rev=14214&view=rev
Log:
Exception classes must be within a tuple.

Modified:
    erp5/trunk/products/ERP5Type/XMLMatrix.py

Modified: erp5/trunk/products/ERP5Type/XMLMatrix.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/XMLMatrix.py?rev=14214&r1=14213&r2=14214&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/XMLMatrix.py (original)
+++ erp5/trunk/products/ERP5Type/XMLMatrix.py Wed Apr 25 03:10:30 2007
@@ -241,7 +241,7 @@
                                             # then we do not need to
                                             # work on it
               object_id_list += [object_id]
-            except ValueError, KeyError:
+            except (ValueError, KeyError):
               pass
 
       for object_id in object_id_list:




More information about the Erp5-report mailing list