mirror of https://github.com/fail2ban/fail2ban
BF: python 2.4 and 2.5 compatibility -- no "except ... as ..." yet
parent
a8d0cc9af8
commit
9cbb472478
|
@ -211,6 +211,6 @@ class ProcessPyinotify(pyinotify.ProcessEvent):
|
|||
def process_default(self, event):
|
||||
try:
|
||||
self.__FileFilter.callback(event, origin='Default ')
|
||||
except Exception as e:
|
||||
except Exception, e:
|
||||
logSys.error("Error in FilterPyinotify callback: %s",
|
||||
e, exc_info=logSys.getEffectiveLevel() <= logging.DEBUG)
|
||||
|
|
Loading…
Reference in New Issue