[Mpuls-commits] r3339 - wasko/trunk/waskoweb/controllers

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Mon Aug 9 10:28:59 CEST 2010


Author: torsten
Date: 2010-08-09 10:28:47 +0200 (Mon, 09 Aug 2010)
New Revision: 3339

Modified:
   wasko/trunk/waskoweb/controllers/caselifetime.py
Log:
* waskoweb/controllers/caselifetime.py (DataSaveException): Issue866: Fixed Exception-Handling.


Modified: wasko/trunk/waskoweb/controllers/caselifetime.py
===================================================================
--- wasko/trunk/waskoweb/controllers/caselifetime.py	2010-08-06 14:44:34 UTC (rev 3338)
+++ wasko/trunk/waskoweb/controllers/caselifetime.py	2010-08-09 08:28:47 UTC (rev 3339)
@@ -387,7 +387,7 @@
                                text=('Für den Fall wurde eine Verlängerung'
                                      ' des Integrationsprozess dokumentiert.'))
                 return self.index(session['case'].id)
-            except SetDataException, err:
+            except DataSaveException, err:
                 form_result_1, form_errors = err.toErrorDicts()
         except formencode.Invalid, error:
             form_result = error.value
@@ -624,7 +624,7 @@
                     return self.reopen_ok(session['case'].id)
                 else:
                     return self.reopen_notok(session['case'].id)
-            except SetDataException, err:
+            except DataSaveException, err:
                 form_result_1, form_errors = err.toErrorDicts()
         except formencode.Invalid, error:
             #TODO: use htmlfill



More information about the Mpuls-commits mailing list