[Mpuls-commits] r1076 - wasko/branches/2.0/waskaweb/controllers
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Mon Feb 1 15:43:54 CET 2010
Author: torsten
Date: 2010-02-01 15:43:46 +0100 (Mon, 01 Feb 2010)
New Revision: 1076
Modified:
wasko/branches/2.0/waskaweb/controllers/case.py
Log:
* waskaweb/controllers/case.py (CaseController.undo_error): Deleted
unused function.
Modified: wasko/branches/2.0/waskaweb/controllers/case.py
===================================================================
--- wasko/branches/2.0/waskaweb/controllers/case.py 2010-02-01 14:41:23 UTC (rev 1075)
+++ wasko/branches/2.0/waskaweb/controllers/case.py 2010-02-01 14:43:46 UTC (rev 1076)
@@ -592,21 +592,6 @@
return render('/casemanagement/required.mako')
@checkRole('cm_ka')
- def undo_error(self, error_item):
- case = session.get('case')
- if not case:
- raise HTTPNotFound()
- errors = case.getFormErrors()
- if not errors:
- raise HTTPNotFound()
- errors.pop(error_item)
- session.save()
- page_id = case.page_id
- if page_id is None:
- raise HTTPNotFound()
- return self.select_item(page_id)
-
- @checkRole('cm_ka')
def importCase(self):
return render('/casemanagement/upload.mako')
More information about the Mpuls-commits
mailing list