mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-python
synced 2026-01-15 09:53:32 +01:00
StringTree: Beautify debug logging
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
1ff24b870a
commit
126ecbb411
2 changed files with 22 additions and 21 deletions
|
|
@ -27,7 +27,7 @@ def parse(s: str, allow_full_lines: bool=True, root_content: str='root') -> Stri
|
|||
root = StringTree('', content=root_content)
|
||||
sec = ''
|
||||
for line in s.splitlines():
|
||||
slog(DEBUG, "line=", line)
|
||||
slog(DEBUG, f'Parsing: "{line}"')
|
||||
line = _cleanup_line(line)
|
||||
#slog(DEBUG, "cleaned line=", line)
|
||||
if not len(line):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue