ztfy/utils/schema.py
branchZTK-1.1
changeset 135 864a0cee13c0
parent 128 9f27d8dfc9c6
child 140 d5e916191cf4
equal deleted inserted replaced
134:72e3d386f4f6 135:864a0cee13c0
    28 
    28 
    29 class StringLine(TextLine):
    29 class StringLine(TextLine):
    30     """String line field"""
    30     """String line field"""
    31 
    31 
    32     _type = str
    32     _type = str
       
    33 
       
    34     def fromUnicode(self, value):
       
    35         return str(value)