Author: ianb
Date: 2008-03-25 21:17:04 -0600 (Tue, 25 Mar 2008)
New Revision: 3357

Modified:
   FormEncode/trunk/docs/news.txt
   FormEncode/trunk/formencode/schema.py
Log:
fix chained validators (#1925164), from Petter Urkedal

Modified: FormEncode/trunk/docs/news.txt
===================================================================
--- FormEncode/trunk/docs/news.txt      2008-03-19 21:58:11 UTC (rev 3356)
+++ FormEncode/trunk/docs/news.txt      2008-03-26 03:17:04 UTC (rev 3357)
@@ -3,6 +3,12 @@
 
 .. contents::
 
+svn trunk
+---------
+
+* ``chained_validators`` were removed from Schema somehow; now
+  replaced and working.
+
 1.0
 ---
 

Modified: FormEncode/trunk/formencode/schema.py
===================================================================
--- FormEncode/trunk/formencode/schema.py       2008-03-19 21:58:11 UTC (rev 
3356)
+++ FormEncode/trunk/formencode/schema.py       2008-03-26 03:17:04 UTC (rev 
3357)
@@ -196,6 +196,9 @@
                     value_dict, state,
                     error_dict=errors)
 
+           for validator in self.chained_validators:
+               new = validator.to_python(new, state)
+
             return new
 
         finally:


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
FormEncode-CVS mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/formencode-cvs

Reply via email to