BF: python 2.4 and 2.5 compatibility -- no "except ... as ..." yet

pull/647/head
Yaroslav Halchenko 11 years ago
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…
Cancel
Save