]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
Make sure that the 'processed' hook is run for calls to _process from scan.
authorDaira Hopwood <daira@jacaranda.org>
Wed, 23 Sep 2015 14:38:04 +0000 (15:38 +0100)
committerDaira Hopwood <daira@jacaranda.org>
Wed, 30 Sep 2015 15:45:27 +0000 (16:45 +0100)
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
src/allmydata/frontends/magic_folder.py

index d0401ae96e80b7d4b6d4febd8596b1dc32eb5619..1ca638e874682d0c8d751f81420091e8fa9bafd2 100644 (file)
@@ -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