From: Daira Hopwood Date: Fri, 10 May 2013 22:01:16 +0000 (+0100) Subject: mutable/retrieve.py: improve comments. refs #1742 X-Git-Tag: allmydata-tahoe-1.10.1a1~244 X-Git-Url: https://git.rkrishnan.org/simplejson/components/%22doc.html/something?a=commitdiff_plain;h=e76281744c8b9a70aa651bb9de59141c50eb7219;p=tahoe-lafs%2Ftahoe-lafs.git mutable/retrieve.py: improve comments. refs #1742 Signed-off-by: Daira Hopwood --- diff --git a/src/allmydata/mutable/retrieve.py b/src/allmydata/mutable/retrieve.py index 108560ee..fd97b37d 100644 --- a/src/allmydata/mutable/retrieve.py +++ b/src/allmydata/mutable/retrieve.py @@ -323,6 +323,7 @@ class Retrieve: segment with. I return the plaintext associated with that segment. """ + # We don't need the block hash trees in this case. self._block_hash_trees = None self._setup_encoding_parameters() @@ -961,10 +962,9 @@ class Retrieve: def _raise_notenoughshareserror(self): """ - I am called by _activate_enough_servers when there are not enough - active servers left to complete the download. After making some - useful logging statements, I throw an exception to that effect - to the caller of this Retrieve object through + I am called when there are not enough active servers left to complete + the download. After making some useful logging statements, I throw an + exception to that effect to the caller of this Retrieve object through self._done_deferred. """