mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
should fix sporadic coverage decrease (don't cover "return", because too sporadic to get idle in pyinotify-callback);
This commit is contained in:
parent
7516cd025d
commit
b644d2d73f
1 changed files with 1 additions and 1 deletions
|
|
@ -123,7 +123,7 @@ class FilterPyinotify(FileFilter):
|
|||
self._addPending(path, event)
|
||||
return
|
||||
# do nothing if idle:
|
||||
if self.idle:
|
||||
if self.idle: # pragma: no cover (too sporadic to get idle in callback)
|
||||
return
|
||||
# be sure we process a file:
|
||||
if not isWF:
|
||||
|
|
|
|||
Loading…
Reference in a new issue