mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-31 00:24:13 +00:00
Stop using eventually
in OneShotObserverList
This commit is contained in:
parent
cc8c9c0bdf
commit
5974f5adf9
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user