Fixed the PR comments :-)

This commit is contained in:
ori.agmon
2018-10-08 17:18:19 +03:00
parent 4573fe4089
commit 19c10fd8e9
3 changed files with 35 additions and 33 deletions

View File

@@ -50,7 +50,7 @@ class EventQueue(Queue, object):
else:
self.active_hunters[hook] = hook.__doc__
elif Hunter in hook.__mro__:
self.passive_hunters[hook] = hook.__doc__
self.passive_hunters[hook] = hook.__doc__
if hook not in self.hooks[event]:
self.hooks[event].append((hook, predicate))
@@ -92,4 +92,4 @@ class EventQueue(Queue, object):
with self.mutex:
self.queue.clear()
handler = EventQueue(800)
handler = EventQueue(800)