mirror of https://github.com/fail2ban/fail2ban
python3/pypy compatibility fix + removing obsolete code
parent
96de888ac7
commit
6c2937affc
|
@ -748,8 +748,6 @@ class FileFilter(Filter):
|
||||||
if not dateTimeMatch:
|
if not dateTimeMatch:
|
||||||
break
|
break
|
||||||
unixTime = dateTimeMatch[0]
|
unixTime = dateTimeMatch[0]
|
||||||
if int(unixTime) == int(date):
|
|
||||||
break
|
|
||||||
if unixTime >= date:
|
if unixTime >= date:
|
||||||
maxp = i
|
maxp = i
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue