diff options
author | mathieui <mathieui@mathieui.net> | 2017-09-28 00:59:45 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2017-09-28 00:59:45 +0200 |
commit | 9f1c0c3d541eb67101b1cca33543d71940a4168f (patch) | |
tree | 5141b9115f78c9e24227f02979e6b647bf21a72e /scripts/poezio_logs | |
parent | 377b58f1e8e98afa5beb8f560609ca55cba418ce (diff) | |
download | poezio-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-x | scripts/poezio_logs | 4 |
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) |