mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-08-04 14:48:08 +00:00
ENH: minor -- print out why skipping a backend while testing
This commit is contained in:
parent
652b5a77e0
commit
9510619b7b
1 changed files with 4 additions and 4 deletions
|
|
@ -142,14 +142,14 @@ filters = [FilterPoll] # always available
|
|||
try:
|
||||
from server.filtergamin import FilterGamin
|
||||
filters.append(FilterGamin)
|
||||
except:
|
||||
pass
|
||||
except Exception, e:
|
||||
print "I: Skipping gamin backend testing. Got exception '%s'" % e
|
||||
|
||||
try:
|
||||
from server.filterpyinotify import FilterPyinotify
|
||||
filters.append(FilterPyinotify)
|
||||
except:
|
||||
pass
|
||||
except Exception, e:
|
||||
print "I: Skipping pyinotify backend testing. Got exception '%s'" % e
|
||||
|
||||
for Filter_ in filters:
|
||||
tests.addTest(unittest.makeSuite(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue