[Mpuls-commits] r1633 - wasko/branches/2.0/waskaweb/controllers
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Tue Feb 16 16:35:02 CET 2010
Author: torsten
Date: 2010-02-16 16:35:01 +0100 (Tue, 16 Feb 2010)
New Revision: 1633
Modified:
wasko/branches/2.0/waskaweb/controllers/caselifetime.py
Log:
* waskaweb/controllers/caselifetime.py (CaselifetimeController):
Inherit from BaseController. Formatting.
Modified: wasko/branches/2.0/waskaweb/controllers/caselifetime.py
===================================================================
--- wasko/branches/2.0/waskaweb/controllers/caselifetime.py 2010-02-16 15:34:37 UTC (rev 1632)
+++ wasko/branches/2.0/waskaweb/controllers/caselifetime.py 2010-02-16 15:35:01 UTC (rev 1633)
@@ -7,7 +7,10 @@
import formencode
+from formed.instance.backends.postgres import DBFactory as InstanceFactory
+
from mpulsweb.lib.base import c, g, render, request, session
+from mpulsweb.lib.db import db, PostgresDBInterface
import mpulsweb.lib.helpers as h
from mpulsweb.model.logbook import Logbook, LogbookEntry
@@ -17,13 +20,8 @@
ReopenFormValidator2, ReopenFormValidator2abgel, \
RenewFormValidator
-from waskaweb.model.case import CaseFactory
-from waskaweb.controllers.CaseBase import CasebaseController
+from waskaweb.lib.base import BaseController
-from formed.instance.backends.postgres import DBFactory as InstanceFactory
-from mpulsweb.lib.db import db, PostgresDBInterface
-
-
log = logging.getLogger(__name__)
@@ -357,7 +355,7 @@
c.show_abort = False
-class CaselifetimeController(CasebaseController):
+class CaselifetimeController(BaseController):
def index(self, id=None):
c.form_errors = {}
More information about the Mpuls-commits
mailing list