[Mpuls-commits] r1657 - in wasko/branches/2.0: . waskaweb/controllers

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Feb 18 12:30:40 CET 2010


Author: bh
Date: 2010-02-18 12:30:38 +0100 (Thu, 18 Feb 2010)
New Revision: 1657

Modified:
   wasko/branches/2.0/ChangeLog
   wasko/branches/2.0/waskaweb/controllers/caseappointment.py
Log:
* waskaweb/controllers/caseappointment.py (loadCase): Removed. No
longer used.


Modified: wasko/branches/2.0/ChangeLog
===================================================================
--- wasko/branches/2.0/ChangeLog	2010-02-18 11:23:49 UTC (rev 1656)
+++ wasko/branches/2.0/ChangeLog	2010-02-18 11:30:38 UTC (rev 1657)
@@ -1,5 +1,10 @@
 2010-02-18  Bernhard Herzog  <bh at intevation.de>
 
+	* waskaweb/controllers/caseappointment.py (loadCase): Removed. No
+	longer used.
+
+2010-02-18  Bernhard Herzog  <bh at intevation.de>
+
 	* waskaweb/controllers/caseappointment.py
 	(CaseappointmentController.newReminder): CaseappointmentController
 	is derived from the waskaweb BaseController now which has a

Modified: wasko/branches/2.0/waskaweb/controllers/caseappointment.py
===================================================================
--- wasko/branches/2.0/waskaweb/controllers/caseappointment.py	2010-02-18 11:23:49 UTC (rev 1656)
+++ wasko/branches/2.0/waskaweb/controllers/caseappointment.py	2010-02-18 11:30:38 UTC (rev 1657)
@@ -22,19 +22,12 @@
 
 from waskaweb.lib.base import BaseController, render
 from waskaweb.lib.validators import CreateAppointmentForm
-from waskaweb.model.case import LoadCaseNotExistsError
 from waskaweb.model.appointment import CaseAppointmentOverview, \
      CaseAppointmentFactory, CaseReminderOverview
 from waskaweb.controllers.case import checkPrivacyStatement
 
 log = logging.getLogger(__name__)
 
-def loadCase(id):
-    factory = g.case_factory
-    try:
-        return factory.loadById(id)
-    except LoadCaseNotExistsError, err:
-        self.showError()
 
 class CaseappointmentController(BaseController):
 



More information about the Mpuls-commits mailing list