mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-18 20:47:54 +00:00
Unnecessary maybeDeferred
This commit is contained in:
parent
ac5178269b
commit
2783bd8b77
@ -419,7 +419,7 @@ class DownloadNode(object):
|
||||
|
||||
def process_blocks(self, segnum, blocks):
|
||||
start = now()
|
||||
d = defer.maybeDeferred(self._decode_blocks, segnum, blocks)
|
||||
d = self._decode_blocks(segnum, blocks)
|
||||
d.addCallback(self._check_ciphertext_hash, segnum)
|
||||
def _deliver(result):
|
||||
log.msg(format="delivering segment(%(segnum)d)",
|
||||
|
Loading…
Reference in New Issue
Block a user