mirror of https://github.com/fail2ban/fail2ban
BF: remove unused function DateDetector.getUnixTime
parent
ec0670f6d5
commit
0035c99d07
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue