Author: ianb
Date: 2007-03-28 11:06:59 -0600 (Wed, 28 Mar 2007)
New Revision: 2469
Modified:
FormEncode/trunk/formencode/foreach.py
Log:
Use unicode() when combining exception messages in foreach (from Alberto
Valverde)
Modified: FormEncode/trunk/formencode/foreach.py
===================================================================
--- FormEncode/trunk/formencode/foreach.py 2007-03-28 16:43:49 UTC (rev
2468)
+++ FormEncode/trunk/formencode/foreach.py 2007-03-28 17:06:59 UTC (rev
2469)
@@ -88,7 +88,7 @@
return new_list
else:
raise Invalid(
- 'Errors:\n%s' % '\n'.join([str(e) for e in errors if e]),
+ 'Errors:\n%s' % '\n'.join([unicode(e) for e in errors if
e]),
value,
state,
error_list=errors)
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
FormEncode-CVS mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/formencode-cvs