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/%22file:/running.html?a=commitdiff_plain;h=7d8aba5db3e99bfa6edd1f0233a2a566f5ebdb7f;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