]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
Fix an error handling path that would never have been reached. fixes ticket:2543 2543.fix-mutable-error-handling.0
authorDaira Hopwood <daira@jacaranda.org>
Tue, 2 Feb 2016 18:55:34 +0000 (18:55 +0000)
committerDaira Hopwood <daira@jacaranda.org>
Tue, 2 Feb 2016 18:55:34 +0000 (18:55 +0000)
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
src/allmydata/mutable/layout.py

index b938794f947281428e5c8ba16fa57880df4faa08..40fd9331badcfdd988ed014a06b1ed9109f22958 100644 (file)
@@ -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):