]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commit
client.py: throw error when reserved_space= is unparseable. Closes #1812.
authorBrian Warner <warner@lothar.com>
Wed, 20 Mar 2013 22:25:10 +0000 (15:25 -0700)
committerDavid-Sarah Hopwood <david-sarah@jacaranda.org>
Wed, 20 Mar 2013 23:24:22 +0000 (23:24 +0000)
commitb084396bddd1e12a5e49ed4e9f1a2eafcbe8e01b
tree5be50d8a0df9d17e0149c34cac1b3bd4fbeac4b4
parent0a89b738bc05f17597555786b8f59dc05c46be0f
client.py: throw error when reserved_space= is unparseable. Closes #1812.

This should now fail quickly (during "tahoe start"). Previously this
would silently treat an unparseable size as "0", and the only way to
discover that it had had a problem would be to look at the foolscap log,
or examine the storage-service web page for the unexpected "Reserved
Size" number.
src/allmydata/client.py
src/allmydata/test/test_client.py