[Mpuls-commits] r2113 - wasko/branches/2.0/jmdweb/model

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Mar 24 15:39:47 CET 2010


Author: torsten
Date: 2010-03-24 15:39:46 +0100 (Wed, 24 Mar 2010)
New Revision: 2113

Modified:
   wasko/branches/2.0/jmdweb/model/case.py
Log:
* jmdweb/model/case.py (SessionCase.toFormData): Deleted. Not used in
jmdweb.


Modified: wasko/branches/2.0/jmdweb/model/case.py
===================================================================
--- wasko/branches/2.0/jmdweb/model/case.py	2010-03-24 14:37:14 UTC (rev 2112)
+++ wasko/branches/2.0/jmdweb/model/case.py	2010-03-24 14:39:46 UTC (rev 2113)
@@ -135,12 +135,6 @@
                     field.convert(save_getone(params, field.name,
                                               field.default)))
 
-    def toFormData(self):
-        data = {}
-        for field in self._session_fields():
-            data[field.name] = getattr(self, field.alias)
-        return data
-
 class Case(MpulsCase):
 
     def __init__(self, id=None, preset=None, state_id=None, state_status=None,



More information about the Mpuls-commits mailing list