diff --git a/fail2ban/server/datedetector.py b/fail2ban/server/datedetector.py index 6cbffeed..056cd2d8 100644 --- a/fail2ban/server/datedetector.py +++ b/fail2ban/server/datedetector.py @@ -140,10 +140,6 @@ class DateDetector: finally: self.__lock.release() - def getUnixTime(self, line): - date = self.getTime(line) - return date and time.mktime(tuple(date)) - ## # Sort the template lists using the hits score. This method is not called # in this object and thus should be called from time to time.