From: David Stainton Date: Wed, 27 Jan 2016 15:40:44 +0000 (+0000) Subject: Call hooks eventually. X-Git-Url: https://git.rkrishnan.org/?p=tahoe-lafs%2Ftahoe-lafs.git;a=commitdiff_plain;h=0e92d3626db513d33d95e51735ebc6acbca07fe4 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):