[Mpuls-commits] r1634 - wasko/branches/2.0/waskaweb/controllers

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Feb 16 16:35:55 CET 2010


Author: torsten
Date: 2010-02-16 16:35:55 +0100 (Tue, 16 Feb 2010)
New Revision: 1634

Modified:
   wasko/branches/2.0/waskaweb/controllers/case.py
Log:
* waskaweb/controllers/case.py (CaseController): Inherit from BaseController. Formatting.


Modified: wasko/branches/2.0/waskaweb/controllers/case.py
===================================================================
--- wasko/branches/2.0/waskaweb/controllers/case.py	2010-02-16 15:35:01 UTC (rev 1633)
+++ wasko/branches/2.0/waskaweb/controllers/case.py	2010-02-16 15:35:55 UTC (rev 1634)
@@ -39,7 +39,8 @@
 import paste
 from paste.httpexceptions import HTTPNotFound
 
-from waskaweb.lib.base import c, g, h, redirect_to, render, request, session
+from mpulsweb.lib.base import c, g, h, redirect_to, render, request, session
+from waskaweb.lib.base import BaseController
 
 from mpulsweb.lib.db import db
 from waskaweb.lib.search import INCONSISTENCY_CHECK_AFTER
@@ -65,7 +66,6 @@
      PHASE_DESCRIPTIONS, CLEAR_START, CLEAR_ENDE, CM_ENDE, NB_ENDE
 
 from mpulsweb.controllers.formularpage import get_rendered_page
-from waskaweb.controllers.CaseBase import CasebaseController
 from waskaweb.controllers.caselifetime import DataSaveException
 
 from waskaweb.converter.wasko_v1v2 import WaskoV1V2
@@ -228,7 +228,7 @@
     case.getState().setPhase(end_phase)
 
 
-class CaseController(CasebaseController):
+class CaseController(BaseController):
 
     def init_case(self, id):
         '''Return a case object'''



More information about the Mpuls-commits mailing list