]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/blobdiff - src/allmydata/mutable/layout.py
layout.py: annotate assertion to figure out 'tahoe backup' failure
[tahoe-lafs/tahoe-lafs.git] / src / allmydata / mutable / layout.py
index 42c20324725156666befc608ec894e23f97ad733..e3835a1949e85fa3d5222700c4c22c6a5d1392d9 100644 (file)
@@ -499,7 +499,7 @@ class SDMFSlotWriteProxy:
         """
         for k in ["sharedata", "encprivkey", "signature", "verification_key",
                   "share_hash_chain", "block_hash_tree"]:
-            assert k in self._share_pieces
+            assert k in self._share_pieces, (k, self._share_pieces.keys())
         # This is the only method that actually writes something to the
         # remote server.
         # First, we need to pack the share into data that we can write