mirror of https://github.com/fail2ban/fail2ban
- Removed debug comment
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@255 a942ae1a-1317-0410-a47c-b1dcaea8d6050.x
parent
9aa6a505eb
commit
40425d051e
|
@ -433,8 +433,8 @@ class Filter(JailThread):
|
||||||
# Bug fix for #1241756
|
# Bug fix for #1241756
|
||||||
# If the date is greater than the current time, we suppose
|
# If the date is greater than the current time, we suppose
|
||||||
# that the log is not from this year but from the year before
|
# that the log is not from this year but from the year before
|
||||||
#if time.mktime(date) > time.time():
|
if time.mktime(date) > time.time():
|
||||||
# date[0] -= 1
|
date[0] -= 1
|
||||||
unixTime = time.mktime(date)
|
unixTime = time.mktime(date)
|
||||||
return unixTime
|
return unixTime
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue