mirror of https://github.com/fail2ban/fail2ban
MINOR: PEP-8 tweaks for multiline-matches change set
parent
60d298d898
commit
d9afcc178a
|
@ -366,7 +366,10 @@ class Filter(JailThread):
|
|||
|
||||
timeMatch = self.dateDetector.matchTime(l)
|
||||
if timeMatch:
|
||||
tupleLine = (l[:timeMatch.start()], l[timeMatch.start():timeMatch.end()] , l[timeMatch.end():])
|
||||
tupleLine = (
|
||||
l[:timeMatch.start()],
|
||||
l[timeMatch.start():timeMatch.end()],
|
||||
l[timeMatch.end():])
|
||||
else:
|
||||
tupleLine = (l, "", "")
|
||||
|
||||
|
|
Loading…
Reference in New Issue