Reformat with black.

This commit is contained in:
Itamar Turner-Trauring 2023-04-03 11:30:22 -04:00
parent 57ec669e1e
commit 5e3fa04a3a

View File

@ -488,12 +488,14 @@ class StorageClientGeneral(object):
# Add some features we know are true because the HTTP API
# specification requires them and because other parts of the storage
# client implementation assumes they will be present.
decoded_response[b"http://allmydata.org/tahoe/protocols/storage/v1"].update({
b'tolerates-immutable-read-overrun': True,
b'delete-mutable-shares-with-zero-length-writev': True,
b'fills-holes-with-zero-bytes': True,
b'prevents-read-past-end-of-share-data': True,
})
decoded_response[b"http://allmydata.org/tahoe/protocols/storage/v1"].update(
{
b"tolerates-immutable-read-overrun": True,
b"delete-mutable-shares-with-zero-length-writev": True,
b"fills-holes-with-zero-bytes": True,
b"prevents-read-past-end-of-share-data": True,
}
)
returnValue(decoded_response)
@inlineCallbacks