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:
6a577dd
)
Fix an incorrect addCallback.
author
Daira Hopwood
<daira@jacaranda.org>
Tue, 2 Jun 2015 22:37:44 +0000
(23:37 +0100)
committer
Daira Hopwood
<daira@jacaranda.org>
Wed, 30 Sep 2015 15:45:21 +0000
(16:45 +0100)
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
src/allmydata/frontends/drop_upload.py
patch
|
blob
|
history
diff --git
a/src/allmydata/frontends/drop_upload.py
b/src/allmydata/frontends/drop_upload.py
index 825f88332e5318e5e9530ff72e1116b37d61d78e..8589f1b2505beedcba7fe29618bd76abd7d9df52 100644
(file)
--- a/
src/allmydata/frontends/drop_upload.py
+++ b/
src/allmydata/frontends/drop_upload.py
@@
-220,7
+220,7
@@
class DropUploader(service.MultiService):
def _failed(f):
self._log("failed to create subdirectory %r due to %r" % (path, f))
self._stats_provider.count('drop_upload.objects_failed', 1)
- d2.add
Call
back(_failed)
+ d2.add
Err
back(_failed)
d2.addCallback(lambda ign: self._scan(path))
return d2