gentoo-ebuilds/app-admin/syslog-summary/files/syslog-summary-1.14-fix-ignore-code.patch
Paul Healy 6118d6de50
app-admin/syslog-summary: fix adjacent line ignore
fix for not ignoring a second line when two lines which should be
ignored come together - backport fix from:

  https://github.com/dpaleino/syslog-summary/pull/1/files

switch to EAPI 7

Signed-off-by: Paul Healy <lmiphay@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/13477
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
2019-11-12 07:25:23 +02:00

12 lines
306 B
Diff

diff --git a/syslog-summary b/syslog-summary
index abf6381..65608cb 100755
--- a/syslog-summary
+++ b/syslog-summary
@@ -198,6 +198,7 @@ def summarize(filename, states):
if DEBUG:
print "Ignoring: %s" % line
line = file.readline()
+ continue
date, rest = split_date(line)
if date: