From 5f68ab0f859886d53841637f542d775152f2452f Mon Sep 17 00:00:00 2001 From: "matthias@arch" Date: Thu, 18 May 2023 03:21:22 +0200 Subject: [PATCH] fixed backslash in fprint --- regina/data_collection/parse_log.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/regina/data_collection/parse_log.py b/regina/data_collection/parse_log.py index d7457ee..15d023d 100644 --- a/regina/data_collection/parse_log.py +++ b/regina/data_collection/parse_log.py @@ -26,7 +26,8 @@ def parse_log(logfile_path:str) -> list[Request]: for i in range(len(lines)): m = match(re_log_format, lines[i]) if m is None: - warning(f"parse_log: Could not match line {i:3}: '{lines[i].strip('\n')}'") + line = lines[i].strip('\n') + warning(f"parse_log: Could not match line {i:3}: '{line}'") continue pdebug(f"parse_log: line {i:3} match groups:", m.groups(), lvl=4) # _ is user