Get rid of icu string functions in favor of native ones.

This commit is contained in:
gryf committed 2020-05-03 20:19:11 +02:00
1 parent 212cb56d42
commit da010d7841
10 files changed
+138 -185

No files matched your search

+2 -2
View File
@@ -620,8 +620,8 @@ class FieldMetadata(object):
if label in self._tb_cats:
raise ValueError('Duplicate user field [%s]'%(label))
st = [label]
if icu_lower(label) != label:
st.append(icu_lower(label))
if label.lower() != label:
st.append(label.lower())
self._tb_cats[label] = {'table':None, 'column':None,
'datatype':None, 'is_multiple':{},
'kind':'user', 'name':name,