From 0e92d3626db513d33d95e51735ebc6acbca07fe4 Mon Sep 17 00:00:00 2001 From: David Stainton Date: Wed, 27 Jan 2016 15:40:44 +0000 Subject: [PATCH] Call hooks eventually. --- src/allmydata/util/deferredutil.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): -- 2.45.2