From 8b2b5b991ba41e65e4099ba8fdabf4182aa57df5 Mon Sep 17 00:00:00 2001 From: Kay Kurokawa <kay@lbry.io> Date: Thu, 12 Oct 2017 12:17:04 -0400 Subject: [PATCH] remove unneeded _error function from CryptStreamCreator --- lbrynet/cryptstream/CryptStreamCreator.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lbrynet/cryptstream/CryptStreamCreator.py b/lbrynet/cryptstream/CryptStreamCreator.py index 019b1f4d6..b0a2db2d2 100644 --- a/lbrynet/cryptstream/CryptStreamCreator.py +++ b/lbrynet/cryptstream/CryptStreamCreator.py @@ -89,7 +89,6 @@ class CryptStreamCreator(object): self._finalize() dl = defer.DeferredList(self.finished_deferreds) dl.addCallback(lambda _: self._finished()) - dl.addErrback(self._error) return dl # TODO: move the stream creation process to its own thread and @@ -145,9 +144,6 @@ class CryptStreamCreator(object): def _get_blob_maker(self, iv, blob_creator): return CryptStreamBlobMaker(self.key, iv, self.blob_count, blob_creator) - def _error(self, error): - log.error(error) - def _finished(self): raise NotImplementedError()