From 29c244aff6e3c359796bb033496c14ad5537dbe0 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Mon, 2 Oct 2017 16:36:21 +0200 Subject: [PATCH] Minor --- src/gen-use-table.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/gen-use-table.py b/src/gen-use-table.py index fcb66a580..2b36495c2 100755 --- a/src/gen-use-table.py +++ b/src/gen-use-table.py @@ -298,8 +298,7 @@ def map_to_use(data): # the nasalization marks, maybe only for U+1CE9..U+1CF1. if U == 0x1CED: UISC = Tone_Mark - evals = [(k, v(U,UISC,UGC)) for k,v in items] - values = [k for k,v in evals if v] + values = [k for k,v in items if v(U,UISC,UGC)] assert len(values) == 1, "%s %s %s %s" % (hex(U), UISC, UGC, values) USE = values[0]