mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
DOC: document PyPy version that use KeyError instead of IndexError
This commit is contained in:
parent
d3c065bf76
commit
1f1fe254a6
1 changed files with 1 additions and 1 deletions
|
|
@ -136,7 +136,7 @@ class Regex:
|
|||
if self._matchCache.group("skiplines%i" % n) is not None:
|
||||
skippedLines += self._matchCache.group("skiplines%i" % n)
|
||||
n += 1
|
||||
# KeyError is because of PyPy
|
||||
# KeyError is because of PyPy issue1665 affecting pypy <= 2.2.1
|
||||
except (IndexError, KeyError):
|
||||
break
|
||||
return skippedLines.splitlines(False)
|
||||
|
|
|
|||
Loading…
Reference in a new issue