]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/blobdiff - src/allmydata/immutable/downloader/node.py
hush current pyflakes warnings (list comprehensions)
[tahoe-lafs/tahoe-lafs.git] / src / allmydata / immutable / downloader / node.py
index e852fd35e3d22a5f2015a3b7c57561b2f481024b..fe00fdbd9a3f3ead55dd614bcbb1268475399950 100644 (file)
@@ -56,8 +56,7 @@ class DownloadNode:
         self._history = history
         self._download_status = download_status
 
-        k, N = self._verifycap.needed_shares, self._verifycap.total_shares
-        self.share_hash_tree = IncompleteHashTree(N)
+        self.share_hash_tree = IncompleteHashTree(self._verifycap.total_shares)
 
         # we guess the segment size, so Segmentation can pull non-initial
         # segments in a single roundtrip. This populates