Author: reinhard
Date: 2009-10-02 11:33:03 -0500 (Fri, 02 Oct 2009)
New Revision: 9925
Modified:
trunk/gnue-common/src/base/i18n.py
Log:
Remove checktype in outconv() since there are too many places where it is
called with 8 bit strings.
Modified: trunk/gnue-common/src/base/i18n.py
===================================================================
--- trunk/gnue-common/src/base/i18n.py 2009-10-02 16:19:45 UTC (rev 9924)
+++ trunk/gnue-common/src/base/i18n.py 2009-10-02 16:33:03 UTC (rev 9925)
@@ -72,7 +72,8 @@
the builtin function "o()".
"""
- checktype(text, unicode)
+ # TODO: in 0.8, warn if text is not unicode, in 0.9, throw error
+ #checktype(text, unicode)
encoding = locale.getlocale()[1]
if encoding is None:
_______________________________________________
commit-gnue mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/commit-gnue