mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-24 15:16:41 +00:00
Fix spurious type checking error.
This commit is contained in:
parent
f8604e2394
commit
016d6b4530
@ -274,7 +274,7 @@ class StorageServer(service.MultiService, Referenceable):
|
|||||||
}
|
}
|
||||||
return version
|
return version
|
||||||
|
|
||||||
def allocate_buckets(self, storage_index,
|
def _allocate_buckets(self, storage_index,
|
||||||
renew_secret, cancel_secret,
|
renew_secret, cancel_secret,
|
||||||
sharenums, allocated_size,
|
sharenums, allocated_size,
|
||||||
owner_num=0):
|
owner_num=0):
|
||||||
@ -359,7 +359,7 @@ class StorageServer(service.MultiService, Referenceable):
|
|||||||
sharenums, allocated_size,
|
sharenums, allocated_size,
|
||||||
canary, owner_num=0):
|
canary, owner_num=0):
|
||||||
"""Foolscap-specific ``allocate_buckets()`` API."""
|
"""Foolscap-specific ``allocate_buckets()`` API."""
|
||||||
alreadygot, bucketwriters = self.allocate_buckets(
|
alreadygot, bucketwriters = self._allocate_buckets(
|
||||||
storage_index, renew_secret, cancel_secret, sharenums, allocated_size,
|
storage_index, renew_secret, cancel_secret, sharenums, allocated_size,
|
||||||
owner_num=owner_num,
|
owner_num=owner_num,
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user