From 278ee0db76cd39682a0d0469ad9d6946828ce05f Mon Sep 17 00:00:00 2001 From: Daira Hopwood Date: Tue, 2 Feb 2016 18:55:34 +0000 Subject: [PATCH] Fix an error handling path that would never have been reached. fixes ticket:2543 Signed-off-by: Daira Hopwood --- src/allmydata/mutable/layout.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): -- 2.45.2