mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-21 03:55:27 +00:00
Remove bad assertion.
This commit is contained in:
parent
e4e6831497
commit
2e06990c5c
@ -41,7 +41,6 @@ def si_a2b(ascii_storageindex):
|
|||||||
|
|
||||||
def si_to_human_readable(storageindex: bytes) -> str:
|
def si_to_human_readable(storageindex: bytes) -> str:
|
||||||
"""Create human-readable string of storage index."""
|
"""Create human-readable string of storage index."""
|
||||||
assert len(storageindex) == 16
|
|
||||||
return str(base32.b2a(storageindex), "ascii")
|
return str(base32.b2a(storageindex), "ascii")
|
||||||
|
|
||||||
def storage_index_to_dir(storageindex):
|
def storage_index_to_dir(storageindex):
|
||||||
|
Loading…
Reference in New Issue
Block a user