typo
This commit is contained in:
parent
b5c71cd2f2
commit
1a1ec7bfa2
|
@ -309,7 +309,7 @@ def from_xs_boolean_to_python_boolean(value):
|
||||||
def ensure_unicode_string(s):
|
def ensure_unicode_string(s):
|
||||||
# py23 u'abc'.decode('utf-8') raises
|
# py23 u'abc'.decode('utf-8') raises
|
||||||
# python24 does not. is python23 is ooold we can remove this func
|
# python24 does not. is python23 is ooold we can remove this func
|
||||||
if isistance(s, str):
|
if isinstance(s, str):
|
||||||
s = s.decode('utf-8')
|
s = s.decode('utf-8')
|
||||||
return s
|
return s
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue