]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/blobdiff - src/allmydata/util/deferredutil.py
Call hooks eventually.
[tahoe-lafs/tahoe-lafs.git] / src / allmydata / util / deferredutil.py
index dac399d7a64dcab7a52c6ea8067ec9702d3b2444..34aa37773ab805936d780173f223b30b02cf37b9 100644 (file)
@@ -124,7 +124,7 @@ class HookMixin:
             self._hooks[name] = (d, ignore_count - 1)
         else:
             self._hooks[name] = None
-            _with_log(d.callback, res)
+            _with_log(eventually_callback(d), res)
         return res
 
     def _log(self, msg):