minor typo
This commit is contained in:
parent
413d97ed89
commit
21a65d2568
|
@ -445,7 +445,7 @@ def from_xs_boolean_to_python_boolean(value):
|
|||
|
||||
def ensure_unicode_string(s):
|
||||
# py23 u'abc'.decode('utf-8') raises
|
||||
# python24 does not. is python23 is ooold we can remove this func
|
||||
# python24 does not. if python23 is ooold we can remove this func
|
||||
# FIXME: remove this when we abandon py23
|
||||
if isinstance(s, str):
|
||||
s = s.decode('utf-8')
|
||||
|
|
Loading…
Reference in New Issue