Skip to content

Commit 0a37124

Browse files
committed
Revert "multiline_regex_before won't work when logfile ends with empty line"
This reverts commit 5196789.
1 parent 5196789 commit 0a37124

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

beaver/utils.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,8 +197,6 @@ def multiline_merge(lines, current_event, re_after, re_before):
197197
"""
198198
events = []
199199
for line in lines:
200-
if line == '':
201-
break
202200
if re_before and re_before.match(line):
203201
current_event.append(line)
204202
elif re_after and current_event and re_after.match(current_event[-1]):

0 commit comments

Comments
 (0)