From: David Stainton Date: Wed, 27 Jan 2016 15:40:44 +0000 (+0000) Subject: Call hooks eventually. X-Git-Url: https://git.rkrishnan.org/vdrive/%22file:/frontends/configuration.txt?a=commitdiff_plain;h=4946c92fea20ae1e1980ec0c345cfafb47e7a714;p=tahoe-lafs%2Ftahoe-lafs.git Call hooks eventually. --- diff --git a/src/allmydata/util/deferredutil.py b/src/allmydata/util/deferredutil.py index dac399d7..34aa3777 100644 --- a/src/allmydata/util/deferredutil.py +++ b/src/allmydata/util/deferredutil.py @@ -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):