]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
Cosmetic changes to match cloud backend branch.
authordavid-sarah <david-sarah@jacaranda.org>
Tue, 24 Jul 2012 03:40:49 +0000 (03:40 +0000)
committerdavid-sarah <david-sarah@jacaranda.org>
Tue, 24 Jul 2012 03:40:49 +0000 (03:40 +0000)
src/allmydata/immutable/offloaded.py
src/allmydata/interfaces.py

index 5365bad4adee5b6340de8bfc6ee48b2e9a859239..fbd756be291bc46f38a16b952b7f4f0460cff307 100644 (file)
@@ -317,6 +317,9 @@ class CHKCiphertextFetcher(AskUntilSuccessMixin):
         if os.path.exists(self._encoding_file):
             self.log("ciphertext already present, bypassing fetch",
                      level=log.UNUSUAL)
+            # XXX the following comment is probably stale, since
+            # LocalCiphertextReader.get_plaintext_hashtree_leaves does not exist.
+            #
             # we'll still need the plaintext hashes (when
             # LocalCiphertextReader.get_plaintext_hashtree_leaves() is
             # called), and currently the easiest way to get them is to ask
index 7d0e61dbbe4fdd961dea9ffd60b8b626617b9d10..b556d4e3138d48c2eb22078e51a415fb5311afcc 100644 (file)
@@ -2157,7 +2157,7 @@ class ICheckResults(Interface):
         files always return True."""
 
     def needs_rebalancing():
-        """Return a boolean, True if the file/dirs reliability could be
+        """Return a boolean, True if the file/dir's reliability could be
         improved by moving shares to new servers. Non-distributed LIT files
         always return False."""
 
@@ -2624,8 +2624,8 @@ class NotCapableError(Exception):
 class BadWriteEnablerError(Exception):
     pass
 
-class RIControlClient(RemoteInterface):
 
+class RIControlClient(RemoteInterface):
     def wait_for_client_connections(num_clients=int):
         """Do not return until we have connections to at least NUM_CLIENTS
         storage servers.