]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commit
Sun Jan 8 22:12:48 GMT 2012 Brian Warner <warner@lothar.com>
authorDaira Hopwood <daira@jacaranda.org>
Thu, 5 Sep 2013 16:34:52 +0000 (17:34 +0100)
committerDaira Hopwood <daira@jacaranda.org>
Thu, 5 Sep 2013 16:34:52 +0000 (17:34 +0100)
commit0ffad8bcdd17078a0e3af1c5629d9637abf4cd42
tree678d38e16cca1a53cba6c3cfedf6a3790b560ffd
parentcbc63df536e537348af89fee879c26ce3f281e8e
Sun Jan  8 22:12:48 GMT 2012  Brian Warner <warner@lothar.com>
  * mutable/retrieve.py: clean up control flow to avoid dropping errors

  * replace DeferredList with gatherResults, simplify result handling
  * use BadShareError to signal recoverable problems in either fetch or
    validate, catch after _validate_block
  * _validate_block is thus not responsible for noticing fetch problems
  * rename _validation_or_decoding_failed() to _handle_bad_share()
  * _get_needed_hashes() returns two Deferreds, instead of a hard-to-unpack
    DeferredList
src/allmydata/mutable/retrieve.py