fix incorrect retyping of "event_path" as "event, path" (i wasn't paying enough

attention)
This commit is contained in:
jesopo 2018-12-05 15:23:40 +00:00
parent 4015275afc
commit d60c441ce2

View file

@ -184,11 +184,11 @@ class EventHook(object):
if not hooks: if not hooks:
self.log.trace("not calling non-hooked event \"%s\" (params: %s)", self.log.trace("not calling non-hooked event \"%s\" (params: %s)",
[event, path, kwargs]) [event_path, kwargs])
return returns return returns
self.log.trace("calling event: \"%s\" (params: %s)", self.log.trace("calling event: \"%s\" (params: %s)",
[event_path,kwargs]) [event_path, kwargs])
start = time.monotonic() start = time.monotonic()
event = self._make_event(kwargs) event = self._make_event(kwargs)