Skip to content

Commit 6a9ac45

Browse files
committed
[idna/src] Update uts46_mapping_table.rs
1 parent 0224a11 commit 6a9ac45

File tree

2 files changed

+80
-58
lines changed

2 files changed

+80
-58
lines changed

idna/src/make_uts46_mapping_table.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def mergeable_key(r):
101101
continue
102102
# Assert that nothing in the group has an associated unicode string.
103103
for g in group:
104-
if len(g[3]) > 2:
104+
if g[3] is not None and len(g[3]) > 2:
105105
assert not g[3][2].strip()
106106
# Assert that consecutive members of the group don't leave gaps in
107107
# the codepoint space.

0 commit comments

Comments
 (0)