[Mpuls-commits] r1165 - wasko/branches/2.0/waskaweb/controllers
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Tue Feb 2 17:31:55 CET 2010
Author: torsten
Date: 2010-02-02 17:31:54 +0100 (Tue, 02 Feb 2010)
New Revision: 1165
Modified:
wasko/branches/2.0/waskaweb/controllers/case.py
Log:
* waskaweb/controllers/case.py (CaseController.select): Directly
return self.digest. Do not load a case object.
Modified: wasko/branches/2.0/waskaweb/controllers/case.py
===================================================================
--- wasko/branches/2.0/waskaweb/controllers/case.py 2010-02-02 16:26:13 UTC (rev 1164)
+++ wasko/branches/2.0/waskaweb/controllers/case.py 2010-02-02 16:31:54 UTC (rev 1165)
@@ -275,10 +275,6 @@
@checkRole(('admin_ka', 'cm_ka', 'pt_dlr'))
@checkPrivacyStatement()
def select(self, id, confirmed=0):
- try:
- case = self.__init_case(id)
- except StandardError, err:
- self.showError()
return self.digest(id)
@checkRole(('admin_ka', 'cm_ka', 'pt_dlr'))
More information about the Mpuls-commits
mailing list