mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-25 07:31:07 +00:00
codec: remove more unused debugging code
This commit is contained in:
parent
5b0ece6ece
commit
9a64a9f76e
@ -108,12 +108,6 @@ class CRSDecoder(object):
|
|||||||
self.num_chunks = mathutil.div_ceil(self.data_size, self.chunk_size)
|
self.num_chunks = mathutil.div_ceil(self.data_size, self.chunk_size)
|
||||||
self.share_size = self.num_chunks
|
self.share_size = self.num_chunks
|
||||||
self.decoder = fec.Decoder(self.required_shares, self.max_shares)
|
self.decoder = fec.Decoder(self.required_shares, self.max_shares)
|
||||||
if False:
|
|
||||||
print "chunk_size: %d" % self.chunk_size
|
|
||||||
print "num_chunks: %d" % self.num_chunks
|
|
||||||
print "share_size: %d" % self.share_size
|
|
||||||
print "max_shares: %d" % self.max_shares
|
|
||||||
print "required_shares: %d" % self.required_shares
|
|
||||||
|
|
||||||
def get_needed_shares(self):
|
def get_needed_shares(self):
|
||||||
return self.required_shares
|
return self.required_shares
|
||||||
|
Loading…
Reference in New Issue
Block a user