Stop using eventually in OneShotObserverList

This commit is contained in:
Jean-Paul Calderone 2020-10-14 10:56:50 -04:00
parent cc8c9c0bdf
commit 5974f5adf9

View File

@ -61,7 +61,7 @@ class OneShotObserverList(object):
def _fire(self, result):
for w in self._watchers:
eventually(w.callback, result)
w.callback(result)
del self._watchers
self.__repr__ = self._fired_repr