]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
Fix an incorrect addCallback.
authorDaira Hopwood <daira@jacaranda.org>
Tue, 2 Jun 2015 22:37:44 +0000 (23:37 +0100)
committerDaira Hopwood <daira@jacaranda.org>
Thu, 1 Oct 2015 00:19:43 +0000 (01:19 +0100)
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
src/allmydata/frontends/drop_upload.py

index 825f88332e5318e5e9530ff72e1116b37d61d78e..8589f1b2505beedcba7fe29618bd76abd7d9df52 100644 (file)
@@ -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.addCallback(_failed)
+            d2.addErrback(_failed)
             d2.addCallback(lambda ign: self._scan(path))
             return d2