[Mpuls-commits] r4009 - base/trunk
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Thu Oct 21 15:57:44 CEST 2010
Author: bh
Date: 2010-10-21 15:57:43 +0200 (Thu, 21 Oct 2010)
New Revision: 4009
Modified:
base/trunk/ChangeLog
Log:
Update ChangeLog. Should have been committed together with the previous
change to mpulsweb/model/case.py
Modified: base/trunk/ChangeLog
===================================================================
--- base/trunk/ChangeLog 2010-10-21 13:57:06 UTC (rev 4008)
+++ base/trunk/ChangeLog 2010-10-21 13:57:43 UTC (rev 4009)
@@ -1,5 +1,16 @@
2010-10-21 Bernhard Herzog <bh at intevation.de>
+ * mpulsweb/model/case.py (MpulsCaseBundle.export): Remove an
+ unnecessary exception handler. The exception handler would handle
+ exceptions that happen during XML serialization by simply loggin
+ the exception and doing nothing else. However, if XML
+ serialization fails nothing at all can be exported and in fact the
+ most likely thing that happens after handling the exception would
+ be another exception due to the local variable xmltree being
+ unbound.
+
+2010-10-21 Bernhard Herzog <bh at intevation.de>
+
* mpulsweb/model/logbook.py (Logbook.loadById): Remove an
unnecessary exception handler. When the now-removed handler is
executed, the cur.execute call will either not have been done at
More information about the Mpuls-commits
mailing list