From 58c809517120fa48718a0afec79cd28af7b88bc3 Mon Sep 17 00:00:00 2001 From: Daira Hopwood Date: Wed, 23 Sep 2015 15:38:04 +0100 Subject: [PATCH] Make sure that the 'processed' hook is run for calls to _process from scan. Signed-off-by: Daira Hopwood --- src/allmydata/frontends/magic_folder.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/allmydata/frontends/magic_folder.py b/src/allmydata/frontends/magic_folder.py index d0401ae9..1ca638e8 100644 --- a/src/allmydata/frontends/magic_folder.py +++ b/src/allmydata/frontends/magic_folder.py @@ -256,7 +256,9 @@ class Uploader(QueueMixin): self._pending.add(relpath_u) return relpath_u d.addCallback(_add_pending) + # This call to _process doesn't go through the deque, and probably should. d.addCallback(self._process) + d.addBoth(self._call_hook, 'processed') d.addErrback(log.err) return d -- 2.45.2