Author: ianb
Date: 2006-10-18 17:05:14 -0600 (Wed, 18 Oct 2006)
New Revision: 2027

Modified:
   FormEncode/trunk/formencode/htmlfill.py
Log:
Fix formatting of error

Modified: FormEncode/trunk/formencode/htmlfill.py
===================================================================
--- FormEncode/trunk/formencode/htmlfill.py     2006-10-18 22:54:35 UTC (rev 
2026)
+++ FormEncode/trunk/formencode/htmlfill.py     2006-10-18 23:05:14 UTC (rev 
2027)
@@ -237,12 +237,12 @@
         except UnicodeDecodeError, e:
             if self.data_is_str:
                 e.reason += (
-                    "The form was passed in as an encoded string, but "
+                    " the form was passed in as an encoded string, but "
                     "some data or error messages were unicode strings; "
                     "the form should be passed in as a unicode string")
             else:
                 e.reason += (
-                    "The form was passed in as an unicode string, but "
+                    " the form was passed in as an unicode string, but "
                     "some data or error message was an encoded string; "
                     "the data and error messages should be passed in as "
                     "unicode strings")


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
FormEncode-CVS mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/formencode-cvs

Reply via email to