From 42523dce9292e261220ec46cc5b8666744b8b7a0 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Thu, 19 Jul 2012 01:04:05 -0400 Subject: [PATCH] Minor additional comment to DEVELOP --- DEVELOP | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/DEVELOP b/DEVELOP index 399d7a47..feb4249f 100644 --- a/DEVELOP +++ b/DEVELOP @@ -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 ~~~~~~~~~