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

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Oct 7 18:00:55 CEST 2010


Author: bh
Date: 2010-10-07 18:00:54 +0200 (Thu, 07 Oct 2010)
New Revision: 3924

Modified:
   base/trunk/ChangeLog
   base/trunk/mpulsweb/lib/validators.py
Log:
* mpulsweb/lib/validators.py
(EvaluationFormValidator.start_date_field)
(EvaluationFormValidator.end_date_field): Removed.  They're not
used as form fields anywhere


Modified: base/trunk/ChangeLog
===================================================================
--- base/trunk/ChangeLog	2010-10-07 15:49:44 UTC (rev 3923)
+++ base/trunk/ChangeLog	2010-10-07 16:00:54 UTC (rev 3924)
@@ -1,5 +1,12 @@
 2010-10-07  Bernhard Herzog  <bh at intevation.de>
 
+	* mpulsweb/lib/validators.py
+	(EvaluationFormValidator.start_date_field)
+	(EvaluationFormValidator.end_date_field): Removed.  They're not
+	used as form fields anywhere
+
+2010-10-07  Bernhard Herzog  <bh at intevation.de>
+
 	* mpulsweb/controllers/evaluate.py (get_search_options): Remove
 	handling of unused option 'sqlwhere'.  This is the only place in
 	mpuls (base, waska, wasko, jmd) where it's used.

Modified: base/trunk/mpulsweb/lib/validators.py
===================================================================
--- base/trunk/mpulsweb/lib/validators.py	2010-10-07 15:49:44 UTC (rev 3923)
+++ base/trunk/mpulsweb/lib/validators.py	2010-10-07 16:00:54 UTC (rev 3924)
@@ -644,11 +644,6 @@
     end_date = MyDateConverter(not_empty=True, if_missing='',
                                month_style='dd.mm.jjjj')
 
-    start_date_field = String(if_missing=g.mpuls_config.get('evaloptions',
-                                                   'default-start-date-field'))
-    end_date_field = String(if_missing=g.mpuls_config.get('evaloptions',
-                                                     'default-end-date-field'))
-
     typelist = ForEach(String(), convert_to_list=True)
     type_ending = ForEach(String(), convert_to_list=True)
     phase = ForEach(String(), convert_to_list=True)



More information about the Mpuls-commits mailing list