]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
mutable/retrieve.py: improve comments. refs #1742
authorDaira Hopwood <david-sarah@jacaranda.org>
Fri, 10 May 2013 22:01:16 +0000 (23:01 +0100)
committerDaira Hopwood <david-sarah@jacaranda.org>
Tue, 14 May 2013 22:20:46 +0000 (23:20 +0100)
Signed-off-by: Daira Hopwood <david-sarah@jacaranda.org>
src/allmydata/mutable/retrieve.py

index 108560ee621ee1fcb43932449650e565cbcc63e9..fd97b37d4d15e854159c57616fb8622bd5301ae6 100644 (file)
@@ -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.
         """