[Mpuls-commits] r3798 - in base/trunk: . mpulsweb/controllers
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Mon Sep 27 20:45:58 CEST 2010
Author: bh
Date: 2010-09-27 20:45:57 +0200 (Mon, 27 Sep 2010)
New Revision: 3798
Modified:
base/trunk/ChangeLog
base/trunk/mpulsweb/controllers/formularpage.py
Log:
* mpulsweb/controllers/formularpage.py
(FormularpageController.edit): Remove unnecessary try-except
clause around the self.select call. In other actions, there's no
try-except either.
Modified: base/trunk/ChangeLog
===================================================================
--- base/trunk/ChangeLog 2010-09-27 18:42:34 UTC (rev 3797)
+++ base/trunk/ChangeLog 2010-09-27 18:45:57 UTC (rev 3798)
@@ -1,5 +1,12 @@
2010-09-27 Bernhard Herzog <bh at intevation.de>
+ * mpulsweb/controllers/formularpage.py
+ (FormularpageController.edit): Remove unnecessary try-except
+ clause around the self.select call. In other actions, there's no
+ try-except either.
+
+2010-09-27 Bernhard Herzog <bh at intevation.de>
+
* mpulsweb/controllers/formularpage.py: Remove unused imports.
2010-09-27 Bernhard Herzog <bh at intevation.de>
Modified: base/trunk/mpulsweb/controllers/formularpage.py
===================================================================
--- base/trunk/mpulsweb/controllers/formularpage.py 2010-09-27 18:42:34 UTC (rev 3797)
+++ base/trunk/mpulsweb/controllers/formularpage.py 2010-09-27 18:45:57 UTC (rev 3798)
@@ -161,10 +161,7 @@
def edit(self, id):
session['render_mode'] = 'rw'
session.save()
- try:
- return self.select(id)
- except:
- print traceback.print_exc()
+ return self.select(id)
@checkRole(('admin_ka', 'cm_ka', 'pt_dlr'))
def show(self, id):
More information about the Mpuls-commits
mailing list