Commit bd2daccf authored by Denis Bilenko's avatar Denis Bilenko

fix bug in Event notifying code that breaks (among others) test_queue.py

parent ebc3f622
......@@ -49,7 +49,7 @@ class Event(object):
def _notify_links(self):
try:
assert getcurrent() is get_hub()
while self._links:
while self._links and self._value is not _NONE:
link = self._links.pop()
try:
link(self)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment