From 2783bd8b7799f6c57a7100e8920bc5adf88c0a52 Mon Sep 17 00:00:00 2001 From: Itamar Turner-Trauring Date: Thu, 7 Dec 2023 16:39:30 -0500 Subject: [PATCH] Unnecessary maybeDeferred --- src/allmydata/immutable/downloader/node.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/allmydata/immutable/downloader/node.py b/src/allmydata/immutable/downloader/node.py index a1ef4b485..efa3e09eb 100644 --- a/src/allmydata/immutable/downloader/node.py +++ b/src/allmydata/immutable/downloader/node.py @@ -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)",