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

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Mar 16 10:13:16 CET 2010


Author: torsten
Date: 2010-03-16 10:13:14 +0100 (Tue, 16 Mar 2010)
New Revision: 1959

Modified:
   wasko/branches/2.0/jmdweb/lib/validators.py
Log:
* jmdweb/lib/validators.py: Removed EvaluationFormValidator.


Modified: wasko/branches/2.0/jmdweb/lib/validators.py
===================================================================
--- wasko/branches/2.0/jmdweb/lib/validators.py	2010-03-16 09:10:43 UTC (rev 1958)
+++ wasko/branches/2.0/jmdweb/lib/validators.py	2010-03-16 09:13:14 UTC (rev 1959)
@@ -162,29 +162,8 @@
 
 
 class SetPhaseForm(BaseFormValidator):
-
     pass
 
-
-class EvaluationFormValidator(BaseFormValidator):
-
-    id = String(if_missing='0')
-    agencyid = String(if_missing=g.mpuls_config.get('common', 'agencyname'))
-
-    start_date = MyDateConverter(not_empty=True, if_missing='')
-    end_date = MyDateConverter(not_empty=True, if_missing='')
-
-    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)
-    show_percent = Bool(if_missing=False)
-
-
 class ExtraTimeFormValidator1(BaseFormValidator):
 
     allow_extra_fields = True



More information about the Mpuls-commits mailing list