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/%5D%20/vdrive?a=commitdiff_plain;h=72850cf48ed12bbcd7de435e8516813b8a0eb102;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 ee9e5783..6c15fd75 100644 --- a/src/allmydata/frontends/drop_upload.py +++ b/src/allmydata/frontends/drop_upload.py @@ -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