Cleanup: improve error reporting for DataTooLargeError
authorDaira Hopwood <daira@jacaranda.org>
Wed, 1 May 2013 02:41:41 +0000 (03:41 +0100)
committerDaira Hopwood <daira@jacaranda.org>
Fri, 17 Apr 2015 21:31:40 +0000 (22:31 +0100)
commit0336046e3cf7b19cdd604b65fcbe57ba7ca878a6
tree336024316fb768b78c5192459fac015b0c85021b
parentf1e86697604bf7f30c2c11356828a51023bcebc5
Cleanup: improve error reporting for DataTooLargeError
(and fix an off-by-one error in MutableDiskShare._write_share_data).

Signed-off-by: Daira Hopwood <david-sarah@jacaranda.org>
src/allmydata/storage/backends/cloud/immutable.py
src/allmydata/storage/backends/cloud/mutable.py
src/allmydata/storage/backends/disk/immutable.py
src/allmydata/storage/backends/disk/mutable.py
src/allmydata/storage/common.py