mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-25 07:31:07 +00:00
mutable/retrieve.py: improve comments. refs #1742
Signed-off-by: Daira Hopwood <david-sarah@jacaranda.org>
This commit is contained in:
parent
cf52c512c5
commit
e76281744c
@ -323,6 +323,7 @@ class Retrieve:
|
|||||||
segment with. I return the plaintext associated with that
|
segment with. I return the plaintext associated with that
|
||||||
segment.
|
segment.
|
||||||
"""
|
"""
|
||||||
|
# We don't need the block hash trees in this case.
|
||||||
self._block_hash_trees = None
|
self._block_hash_trees = None
|
||||||
self._setup_encoding_parameters()
|
self._setup_encoding_parameters()
|
||||||
|
|
||||||
@ -961,10 +962,9 @@ class Retrieve:
|
|||||||
|
|
||||||
def _raise_notenoughshareserror(self):
|
def _raise_notenoughshareserror(self):
|
||||||
"""
|
"""
|
||||||
I am called by _activate_enough_servers when there are not enough
|
I am called when there are not enough active servers left to complete
|
||||||
active servers left to complete the download. After making some
|
the download. After making some useful logging statements, I throw an
|
||||||
useful logging statements, I throw an exception to that effect
|
exception to that effect to the caller of this Retrieve object through
|
||||||
to the caller of this Retrieve object through
|
|
||||||
self._done_deferred.
|
self._done_deferred.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user