port to python3
This commit is contained in:
parent
14f426afd4
commit
8e27b9f76e
51 changed files with 272 additions and 248 deletions
|
|
@ -101,7 +101,7 @@ class Parser(object):
|
|||
q = ~q
|
||||
return q
|
||||
elif key_type in ("string", "text"):
|
||||
if isinstance(v, unicode):
|
||||
if isinstance(v, str):
|
||||
v = unicodedata.normalize('NFKD', v).lower()
|
||||
else:
|
||||
v = v.lower()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue