From 2bad14a89110420237595d8ee02c6833a06bf933 Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Fri, 16 May 2025 06:52:22 +0200 Subject: [PATCH] stree.StringTree: Fix logging typo Signed-off-by: Jan Lindemann --- tools/python/jwutils/stree/StringTree.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/python/jwutils/stree/StringTree.py b/tools/python/jwutils/stree/StringTree.py index 6addf13..a9d2062 100644 --- a/tools/python/jwutils/stree/StringTree.py +++ b/tools/python/jwutils/stree/StringTree.py @@ -185,7 +185,7 @@ class StringTree: # export return None return child.value() if len(self.children) == 0: - raise Exception('tried to get value from leave "{}"'.format(self.content)) + raise Exception('tried to get value from leaf "{}"'.format(self.content)) slog(DEBUG, f'Returning value from children {self.children}') return self.children[next(reversed(self.children))].content # type: ignore