[Mpuls-commits] r809 - in wasko/branches/2.0: . waskaweb/controllers
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Thu Jan 21 17:20:26 CET 2010
Author: bh
Date: 2010-01-21 17:20:26 +0100 (Thu, 21 Jan 2010)
New Revision: 809
Modified:
wasko/branches/2.0/ChangeLog.txt
wasko/branches/2.0/waskaweb/controllers/case_overview.py
Log:
* waskaweb/controllers/case_overview.py
(CaseOverviewController.listBadCases): Removed. Not used anywhere.
Modified: wasko/branches/2.0/ChangeLog.txt
===================================================================
--- wasko/branches/2.0/ChangeLog.txt 2010-01-21 16:12:44 UTC (rev 808)
+++ wasko/branches/2.0/ChangeLog.txt 2010-01-21 16:20:26 UTC (rev 809)
@@ -1,5 +1,10 @@
2010-01-21 Bernhard Herzog <bh at intevation.de>
+ * waskaweb/controllers/case_overview.py
+ (CaseOverviewController.listBadCases): Removed. Not used anywhere.
+
+2010-01-21 Bernhard Herzog <bh at intevation.de>
+
* waskaweb/lib/base.py (BaseController.__before__): Remove
evalation server specific code. c.isEvaluationServer is gone now.
Modified: wasko/branches/2.0/waskaweb/controllers/case_overview.py
===================================================================
--- wasko/branches/2.0/waskaweb/controllers/case_overview.py 2010-01-21 16:12:44 UTC (rev 808)
+++ wasko/branches/2.0/waskaweb/controllers/case_overview.py 2010-01-21 16:20:26 UTC (rev 809)
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Copyright 2007, 2008 Intevation GmbH, Germany, <info at intevation.de>
+# Copyright 2007, 2008, 2010 Intevation GmbH, Germany, <info at intevation.de>
#
# This file is part of mpuls WASKA (CoMPUter-based case fiLeS -
# Web-Anwendungs-Server fuer Kompetenzagenturen).
@@ -308,24 +308,6 @@
return self.overview()
@checkRole(('admin_ka', 'cm_ka', 'pt_dlr'))
- def listBadCases(self):
- user = session.get('USER_AUTHORIZED')
- c.inconsistency_types = {}
- rexpr_phases = re.compile('.*_[start|ende]')
- try:
- for k,v in build_inconsistency_type_querys().iteritems():
- # igonore checks on phases for old cases
- if rexpr_phases.match(k):
- s = "state:1;state:2;own:%s;only_cases_after:'%s';inconsistency:%s" % (user.id, INCONSISTENCY_CHECK_AFTER, k)
- else:
- s = 'state:1;state:2;state:4;state:5;own:%s;inconsistency:%s' % (user.id, k)
- l = CaseOverview().search(s)
- c.inconsistency_types[k] = l
- except StandardError, err:
- print err
- return render('/casemanagement/listbadcases.mako')
-
- @checkRole(('admin_ka', 'cm_ka', 'pt_dlr'))
def bundleAction(self):
validator = BundleActionForm()
c.context = "../main.mako"
More information about the Mpuls-commits
mailing list