summaryrefslogtreecommitdiff
path: root/scripts/poezio_logs
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2017-09-28 00:59:45 +0200
committermathieui <mathieui@mathieui.net>2017-09-28 00:59:45 +0200
commit9f1c0c3d541eb67101b1cca33543d71940a4168f (patch)
tree5141b9115f78c9e24227f02979e6b647bf21a72e /scripts/poezio_logs
parent377b58f1e8e98afa5beb8f560609ca55cba418ce (diff)
downloadpoezio-9f1c0c3d541eb67101b1cca33543d71940a4168f.tar.gz
poezio-9f1c0c3d541eb67101b1cca33543d71940a4168f.tar.bz2
poezio-9f1c0c3d541eb67101b1cca33543d71940a4168f.tar.xz
poezio-9f1c0c3d541eb67101b1cca33543d71940a4168f.zip
Rename parse_message_line to parse_log_line
Diffstat (limited to 'scripts/poezio_logs')
-rwxr-xr-xscripts/poezio_logs4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/poezio_logs b/scripts/poezio_logs
index 0ad89e4b..c97b304f 100755
--- a/scripts/poezio_logs
+++ b/scripts/poezio_logs
@@ -3,7 +3,7 @@
A simple script to parse and output logs from a poezio logfile
"""
-from poezio.logger import LogInfo, LogMessage, parse_message_line
+from poezio.logger import LogInfo, LogMessage, parse_log_line
from functools import singledispatch
from poezio import poopt
import argparse
@@ -71,7 +71,7 @@ def parse_messages(fd):
elif in_text:
more_lines.append(line[1:])
continue
- current_log = parse_message_line(line)
+ current_log = parse_log_line(line)
in_text = True
print_log(current_log, more_lines)