|
From: <sub...@co...> - 2006-10-18 23:05:54
|
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")
|