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/%5B/frontends/statistics?a=commitdiff_plain;h=7802d3e3508a0fbee813088261c7955415bff80d;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