projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24f0946
)
Make sure that the 'processed' hook is run for calls to _process from scan.
author
Daira Hopwood
<daira@jacaranda.org>
Wed, 23 Sep 2015 14:38:04 +0000
(15:38 +0100)
committer
Daira Hopwood
<daira@jacaranda.org>
Wed, 23 Sep 2015 14:38:04 +0000
(15:38 +0100)
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
src/allmydata/frontends/magic_folder.py
patch
|
blob
|
history
diff --git
a/src/allmydata/frontends/magic_folder.py
b/src/allmydata/frontends/magic_folder.py
index d0401ae96e80b7d4b6d4febd8596b1dc32eb5619..1ca638e874682d0c8d751f81420091e8fa9bafd2 100644
(file)
--- 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