commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnue] r9925 - trunk/gnue-common/src/base


From: reinhard
Subject: [gnue] r9925 - trunk/gnue-common/src/base
Date: Fri, 2 Oct 2009 11:33:03 -0500 (CDT)

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:





reply via email to

[Prev in Thread] Current Thread [Next in Thread]