Minor additional comment to DEVELOP

pull/8/merge
Yaroslav Halchenko 2012-07-19 01:04:05 -04:00
parent 0b842272e3
commit 42523dce92
1 changed files with 12 additions and 1 deletions

13
DEVELOP
View File

@ -137,7 +137,18 @@ filter*.py
Implementations of FileFilter's for specific backends. Derived
classes should provide an implementation of `run` and usually
override `addLogPath`, `delLogPath` methods.
override `addLogPath`, `delLogPath` methods. In run() method they all
one way or another provide
try:
while True:
ticket = self.failManager.toBan()
self.jail.putFailTicket(ticket)
except FailManagerEmpty:
self.failManager.cleanup(MyTime.time())
thus channeling "ban tickets" from their failManager to a
corresponding jail.
action.py
~~~~~~~~~