mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-06-08 06:09:43 +02:00
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>
12 lines
306 B
Diff
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:
|