ztfy/utils/schema.py
branchZTK-1.1
changeset 135 864a0cee13c0
parent 128 9f27d8dfc9c6
child 140 d5e916191cf4
--- a/ztfy/utils/schema.py	Thu Mar 29 19:05:38 2012 +0200
+++ b/ztfy/utils/schema.py	Thu Mar 29 19:18:44 2012 +0200
@@ -30,3 +30,6 @@
     """String line field"""
 
     _type = str
+
+    def fromUnicode(self, value):
+        return str(value)