tahoe-1.3.0 and earlier, IndexError was raised if there was no
bucket)
"""
- return None
+ return Any() # returns None now, but future versions might change
def renew_lease(storage_index=StorageIndex, renew_secret=LeaseRenewSecret):
"""
can be renewed or cancelled. For immutable shares, IndexError
(without the note) will be raised.
"""
- return None
+ return Any()
def cancel_lease(storage_index=StorageIndex,
cancel_secret=LeaseCancelSecret):
can be renewed or cancelled. For immutable shares, IndexError
(without the note) will be raised.
"""
- return None
+ return Any()
def get_buckets(storage_index=StorageIndex):
return DictOf(int, RIBucketReader, maxKeys=MAX_BUCKETS)