[Mpuls-commits] r3971 - in base/trunk: . mpulsweb/lib

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Oct 13 12:52:47 CEST 2010


Author: bh
Date: 2010-10-13 12:52:46 +0200 (Wed, 13 Oct 2010)
New Revision: 3971

Modified:
   base/trunk/ChangeLog
   base/trunk/mpulsweb/lib/config.py
Log:
* mpulsweb/lib/config.py (MpulsAppConfig.get_elementary_fields)
(MpulsAppConfig.get_individual_fields): Removed because they're
not used anywhere not even in the pre-mpuls-2 applications.


Modified: base/trunk/ChangeLog
===================================================================
--- base/trunk/ChangeLog	2010-10-12 14:41:32 UTC (rev 3970)
+++ base/trunk/ChangeLog	2010-10-13 10:52:46 UTC (rev 3971)
@@ -1,3 +1,9 @@
+2010-10-13  Bernhard Herzog  <bh at intevation.de>
+
+	* mpulsweb/lib/config.py (MpulsAppConfig.get_elementary_fields)
+	(MpulsAppConfig.get_individual_fields): Removed because they're
+	not used anywhere not even in the pre-mpuls-2 applications.
+
 2010-10-12  Roland Geider <roland.geider at intevation.de>
 
 	* mpulsweb/lib/evaluation.py: issue1087: Show the statistics in

Modified: base/trunk/mpulsweb/lib/config.py
===================================================================
--- base/trunk/mpulsweb/lib/config.py	2010-10-12 14:41:32 UTC (rev 3970)
+++ base/trunk/mpulsweb/lib/config.py	2010-10-13 10:52:46 UTC (rev 3971)
@@ -373,12 +373,6 @@
     def get_overview_fields(self):
         return list(self.get('case-fields', 'overview'))
 
-    def get_elementary_fields(self):
-        return list(self.get('case-fields', 'elementary'))
-
-    def get_individual_fields(self):
-        return list(self.get('case-fields', 'individual'))
-
     def get_fieldname(self, key, mapping='case-fields-mapping'):
         '''Returns the mapped name of database field for a given mpuls internal
         datafield. If the field is not mapable return the key'''



More information about the Mpuls-commits mailing list