[Mpuls-commits] r5426 - base/trunk/mpulsweb/lib
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Fri Oct 7 19:54:20 CEST 2011
Author: bh
Date: 2011-10-07 19:54:19 +0200 (Fri, 07 Oct 2011)
New Revision: 5426
Modified:
base/trunk/mpulsweb/lib/search.py
Log:
Use the return value of extra_validators as keyword arguments
in EvaluationSearch as intended.
Modified: base/trunk/mpulsweb/lib/search.py
===================================================================
--- base/trunk/mpulsweb/lib/search.py 2011-10-07 17:26:39 UTC (rev 5425)
+++ base/trunk/mpulsweb/lib/search.py 2011-10-07 17:54:19 UTC (rev 5426)
@@ -549,7 +549,7 @@
# search module is imported early on when the application starts
# so validators cannot be imported then.
from mpulsweb.lib.validators import EvaluationSearchCaseForm
- validator = EvaluationSearchCaseForm(self.extra_validators())
+ validator = EvaluationSearchCaseForm(**self.extra_validators())
return validator.to_python(params)
def get_needle_clause(self, options):
More information about the Mpuls-commits
mailing list