mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-python
synced 2026-01-15 01:52:56 +01:00
stree.StringTree: Fix logging typo
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
17e5972120
commit
2bad14a891
1 changed files with 1 additions and 1 deletions
|
|
@ -185,7 +185,7 @@ class StringTree: # export
|
||||||
return None
|
return None
|
||||||
return child.value()
|
return child.value()
|
||||||
if len(self.children) == 0:
|
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}')
|
slog(DEBUG, f'Returning value from children {self.children}')
|
||||||
return self.children[next(reversed(self.children))].content # type: ignore
|
return self.children[next(reversed(self.children))].content # type: ignore
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue