diff options
author | Paul Healy <lmiphay@gmail.com> | 2019-10-28 14:19:39 +0000 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2019-11-12 07:25:23 +0200 |
commit | 6118d6de5092f48f2cae7a2d380e1caef78ab8e0 (patch) | |
tree | 3443d8abe2cb8e35801b82443cf9439e96619e7d /app-admin/syslog-summary/files | |
parent | x11-terms/kitty: remove old (diff) | |
download | gentoo-6118d6de5092f48f2cae7a2d380e1caef78ab8e0.tar.gz gentoo-6118d6de5092f48f2cae7a2d380e1caef78ab8e0.tar.bz2 gentoo-6118d6de5092f48f2cae7a2d380e1caef78ab8e0.zip |
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>
Diffstat (limited to 'app-admin/syslog-summary/files')
-rw-r--r-- | app-admin/syslog-summary/files/syslog-summary-1.14-fix-ignore-code.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/app-admin/syslog-summary/files/syslog-summary-1.14-fix-ignore-code.patch b/app-admin/syslog-summary/files/syslog-summary-1.14-fix-ignore-code.patch new file mode 100644 index 000000000000..b66a0ad51ceb --- /dev/null +++ b/app-admin/syslog-summary/files/syslog-summary-1.14-fix-ignore-code.patch @@ -0,0 +1,12 @@ +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: |