[Mpuls-commits] r2197 - wasko/branches/2.0/jmdweb/lib

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Mar 25 16:55:26 CET 2010


Author: torsten
Date: 2010-03-25 16:55:26 +0100 (Thu, 25 Mar 2010)
New Revision: 2197

Removed:
   wasko/branches/2.0/jmdweb/lib/base.py
Log:
Deleted. All functionallity is in mpulsbase.


Deleted: wasko/branches/2.0/jmdweb/lib/base.py
===================================================================
--- wasko/branches/2.0/jmdweb/lib/base.py	2010-03-25 15:46:52 UTC (rev 2196)
+++ wasko/branches/2.0/jmdweb/lib/base.py	2010-03-25 15:55:26 UTC (rev 2197)
@@ -1,46 +0,0 @@
-# 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).
-#
-# mpuls WASKA is free software: you can redistribute it and/or modify it under
-# the terms of the GNU Affero General Public License as published by the
-# Free Software Foundation, either version 3 of the License, or (at your
-# option) any later version.
-#
-# mpuls WASKA is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Affero General Public
-# License for more details.
-#
-# You should have received a copy of the GNU Affero General Public
-# License along with mpuls WASKA. If not, see <http://www.gnu.org/licenses/>.
-#
-# mpuls WASKA has been developed on behalf of the
-# Projekttraeger im Deutschen Zentrum fuer Luft- und Raumfahrt e.V. (PT-DLR)
-# within the programme Kompetenzagenturen (Durchfuehrungsphase) funded by
-# the Bundesministerium fuer Familie, Senioren, Frauen und Jugend and
-# European Social Fund resources.
-
-"""The base Controller API
-
-Provides the BaseController class for subclassing, and other objects
-utilized by Controllers.
-"""
-
-from mpulsweb.lib.base import _, BaseController as MpulsBaseController, \
-              c, g, h, redirect_to, render, request, response, session
-
-from mpulsweb.model.case import LoadCaseNotExistsError
-
-class BaseController(MpulsBaseController):
-
-    def __init__(self):
-        MpulsBaseController.__init__(self)
-
-    def _loadCase(self, id):
-        factory = g.case_factory
-        try:
-            return factory.loadById(id)
-        except LoadCaseNotExistsError, err:
-            self.showError()



More information about the Mpuls-commits mailing list