mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-23 10:40:23 +00:00
Fix unnecessary conversion.
This commit is contained in:
parent
430e98d83a
commit
558e3bf797
@ -807,11 +807,10 @@ class StorageClientImmutables(object):
|
||||
url,
|
||||
)
|
||||
if response.code == http.OK:
|
||||
body = cast(
|
||||
return cast(
|
||||
Set[int],
|
||||
await self._client.decode_cbor(response, _SCHEMAS["list_shares"]),
|
||||
)
|
||||
return set(body)
|
||||
else:
|
||||
raise ClientException(response.code)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user