From e05944f24d3638efeb69411293ff4a3f17cdfb93 Mon Sep 17 00:00:00 2001 From: Alexander Schmidt Date: Tue, 6 Oct 2020 19:00:53 +0200 Subject: [PATCH] removing unused class --- src/line.py | 4 ---- src/logalert.py | 2 -- 2 files changed, 6 deletions(-) delete mode 100644 src/line.py 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 -- 2.39.5