]> 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>
Tue, 2 Jun 2015 22:37:44 +0000 (23:37 +0100)
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
src/allmydata/frontends/drop_upload.py

index ee9e5783077ecfccc38baf9a6a2e055b206b3327..6c15fd752fec1bbb2fa8df4cb9d6a2732799697d 100644 (file)
@@ -217,7 +217,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