mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
code review: added endpos to found tuple, just to be safe by unpack
This commit is contained in:
parent
58717c1854
commit
a2cf34a64e
1 changed files with 1 additions and 1 deletions
|
|
@ -359,7 +359,7 @@ class DateDetector(object):
|
|||
if not match:
|
||||
self.__lastTemplIdx = 0x7fffffff
|
||||
logSys.log(logLevel, " search template (%i) ...", len(self.__templates))
|
||||
found = None, 0x7fffffff, -1
|
||||
found = None, 0x7fffffff, 0x7fffffff, -1
|
||||
i = 0
|
||||
for ddtempl in self.__templates:
|
||||
if logSys.getEffectiveLevel() <= logLevel-1:
|
||||
|
|
|
|||
Loading…
Reference in a new issue