From 284bac169c34138b86105c59619708e8520d05d3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sat, 20 Jan 2018 23:55:35 +0100 Subject: [PATCH] doxygen: assert that the search trie consists only of lowercase data. Can't use `assert c.islower()` as that returns False on non-alnum chars. Huh. --- doxygen/dox2html5.py | 1 + 1 file changed, 1 insertion(+) diff --git a/doxygen/dox2html5.py b/doxygen/dox2html5.py index b7d125ed..a585210b 100755 --- a/doxygen/dox2html5.py +++ b/doxygen/dox2html5.py @@ -71,6 +71,7 @@ class Trie: return char = path[0] + assert not char.isupper() # to avoid unnecessary duplicates if not char in self.children: self.children[char] = Trie() self.children[char].insert(path[1:], value) -- 2.30.2