From: Daira Hopwood Date: Tue, 2 Jun 2015 22:37:44 +0000 (+0100) Subject: Fix an incorrect addCallback. X-Git-Url: https://git.rkrishnan.org/pf/content/en/vdrive?a=commitdiff_plain;h=cb177a935c24b58722fa792ef3d0f62ffc1855ac;p=tahoe-lafs%2Ftahoe-lafs.git Fix an incorrect addCallback. Signed-off-by: Daira Hopwood --- diff --git a/src/allmydata/frontends/drop_upload.py b/src/allmydata/frontends/drop_upload.py index 825f8833..8589f1b2 100644 --- 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.addCallback(_failed) + d2.addErrback(_failed) d2.addCallback(lambda ign: self._scan(path)) return d2