Skip to content

Commit

Permalink
Revert "multiline_regex_before won't work when logfile ends with empt…
Browse files Browse the repository at this point in the history
…y line"

This reverts commit 5196789.
  • Loading branch information
JamieCressey committed Apr 1, 2018
1 parent 5196789 commit b63b7f1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions beaver/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,8 +197,6 @@ def multiline_merge(lines, current_event, re_after, re_before):
"""
events = []
for line in lines:
if line == '':
break
if re_before and re_before.match(line):
current_event.append(line)
elif re_after and current_event and re_after.match(current_event[-1]):
Expand Down

0 comments on commit b63b7f1

Please sign in to comment.