[Mpuls-commits] r1632 - wasko/branches/2.0/waskaweb/controllers
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Tue Feb 16 16:34:37 CET 2010
Author: torsten
Date: 2010-02-16 16:34:37 +0100 (Tue, 16 Feb 2010)
New Revision: 1632
Modified:
wasko/branches/2.0/waskaweb/controllers/statement.py
Log:
* waskaweb/controllers/statement.py (StatementController):
Inherit from BaseController. Formatting.
Modified: wasko/branches/2.0/waskaweb/controllers/statement.py
===================================================================
--- wasko/branches/2.0/waskaweb/controllers/statement.py 2010-02-16 15:33:39 UTC (rev 1631)
+++ wasko/branches/2.0/waskaweb/controllers/statement.py 2010-02-16 15:34:37 UTC (rev 1632)
@@ -31,13 +31,14 @@
import logging
-from waskaweb.lib.base import c, h, redirect_to, render, session
-from waskaweb.lib.search import INCONSISTENCY_CHECK_AFTER
+from mpulsweb.lib.base import c, h, redirect_to, render, session
from mpulsweb.lib.security import checkRole
+from waskaweb.lib.base import BaseController
+from waskaweb.lib.search import INCONSISTENCY_CHECK_AFTER
+
from waskaweb.model.phase_transition import PHASE_DESCRIPTIONS
-from waskaweb.controllers.CaseBase import CasebaseController
from waskaweb.controllers.case import ANONYMIZE_CONFIRM, \
MARKANONYMIZE_CONFIRM_TEXT, MARKANONYMIZE_SUCCESS, \
MARKANONYMIZE_SUCCESS_TEXT, \
@@ -46,7 +47,6 @@
_completeAnonymizedCase, \
_determineAnonymizedCaseEndPhase
-
log = logging.getLogger(__name__)
@@ -79,7 +79,7 @@
%s""" % MARKANONYMIZE_CLEARING_PHASE_FAILED_TEXT
-class StatementController(CasebaseController):
+class StatementController(BaseController):
@checkRole('cm_ka')
def index(self):
More information about the Mpuls-commits
mailing list