From: Alexander Schmidt Date: Tue, 6 Oct 2020 17:00:53 +0000 (+0200) Subject: removing unused class X-Git-Url: http://git.treefish.org/~alex/logalert.git/commitdiff_plain/e05944f24d3638efeb69411293ff4a3f17cdfb93?ds=inline;hp=b63eaf6eef8a303ccb0071574596c57200eec229 removing unused class --- diff --git a/src/line.py b/src/line.py deleted file mode 100644 index 179d6c9..0000000 --- a/src/line.py +++ /dev/null @@ -1,4 +0,0 @@ -class Line: - def __init__(self, timestamp, content): - self.timestamp = timestamp - self.content = content diff --git a/src/logalert.py b/src/logalert.py index cece7a4..9722014 100755 --- a/src/logalert.py +++ b/src/logalert.py @@ -7,8 +7,6 @@ import shlex import subprocess import time -from line import Line - MAX_LINES = 10 ALERT_INTERVAL = 86400