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/provisioning?a=commitdiff_plain;h=b924f5fc569a685aa9d4465e22fe3c4db1c89716;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