This commit is contained in:
Kovid Goyal 2016-03-30 16:22:46 +05:30
parent 9b41e0c98f
commit fd39392ffb

View File

@ -1201,7 +1201,7 @@ class BuiltinListEquals(BuiltinFormatterFunction):
'otherwise return no_val. The items are determined by splitting ' 'otherwise return no_val. The items are determined by splitting '
'each list using the appropriate separator character (sep1 or ' 'each list using the appropriate separator character (sep1 or '
'sep2). The order of items in the lists is not relevant. ' 'sep2). The order of items in the lists is not relevant. '
'The compare is case insensitive.') 'The comparison is case insensitive.')
def evaluate(self, formatter, kwargs, mi, locals, list1, sep1, list2, sep2, yes_val, no_val): def evaluate(self, formatter, kwargs, mi, locals, list1, sep1, list2, sep2, yes_val, no_val):
s1 = set([icu_lower(l.strip()) for l in list1.split(sep1) if l.strip()]) s1 = set([icu_lower(l.strip()) for l in list1.split(sep1) if l.strip()])