[Mpuls-commits] r2273 - in wasko/branches/2.0: . mpulsweb/controllers

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Apr 1 15:55:25 CEST 2010


Author: bh
Date: 2010-04-01 15:55:25 +0200 (Thu, 01 Apr 2010)
New Revision: 2273

Modified:
   wasko/branches/2.0/ChangeLog
   wasko/branches/2.0/mpulsweb/controllers/repeatgroup.py
Log:
* mpulsweb/controllers/repeatgroup.py
(RepeatgroupController.delete): Log exception if deleting a repeat
group fails


Modified: wasko/branches/2.0/ChangeLog
===================================================================
--- wasko/branches/2.0/ChangeLog	2010-04-01 13:54:07 UTC (rev 2272)
+++ wasko/branches/2.0/ChangeLog	2010-04-01 13:55:25 UTC (rev 2273)
@@ -1,6 +1,12 @@
 2010-04-01  Bernhard Herzog  <bh at intevation.de>
 
 	* mpulsweb/controllers/repeatgroup.py
+	(RepeatgroupController.delete): Log exception if deleting a repeat
+	group fails
+
+2010-04-01  Bernhard Herzog  <bh at intevation.de>
+
+	* mpulsweb/controllers/repeatgroup.py
 	(RepeatgroupController.delete): Leave quoting to Mako. Use plain
 	unicode without HTML entities.
 

Modified: wasko/branches/2.0/mpulsweb/controllers/repeatgroup.py
===================================================================
--- wasko/branches/2.0/mpulsweb/controllers/repeatgroup.py	2010-04-01 13:54:07 UTC (rev 2272)
+++ wasko/branches/2.0/mpulsweb/controllers/repeatgroup.py	2010-04-01 13:55:25 UTC (rev 2273)
@@ -49,6 +49,7 @@
             try:
                 rg.getParent().deleteInstance(rg)
             except:
+                log.exception("Error trying to delete repeat group %r:", id)
                 c.status_msg = h.status_message(u"Fehler beim Löschen"
                                                 u" des Datensatzes.")
 



More information about the Mpuls-commits mailing list