]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
Call hooks eventually.
authorDavid Stainton <dstainton415@gmail.com>
Wed, 27 Jan 2016 15:40:44 +0000 (15:40 +0000)
committerDaira Hopwood <daira@jacaranda.org>
Fri, 5 Feb 2016 22:13:37 +0000 (22:13 +0000)
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):