From: Daira Hopwood Date: Tue, 2 Feb 2016 18:55:34 +0000 (+0000) Subject: Fix an error handling path that would never have been reached. fixes ticket:2543 X-Git-Url: https://git.rkrishnan.org/vdrive/using.html?a=commitdiff_plain;h=refs%2Fheads%2F2543.fix-mutable-error-handling.0;p=tahoe-lafs%2Ftahoe-lafs.git Fix an error handling path that would never have been reached. fixes ticket:2543 Signed-off-by: Daira Hopwood --- diff --git a/src/allmydata/mutable/layout.py b/src/allmydata/mutable/layout.py index b938794f..40fd9331 100644 --- a/src/allmydata/mutable/layout.py +++ b/src/allmydata/mutable/layout.py @@ -1171,7 +1171,7 @@ class MDMFSlotWriteProxy: else: if on_success: on_success() return results - d.addCallback(_result) + d.addBoth(_result) return d def _handle_bad_struct(f):