forked from LBRYCommunity/lbry-sdk
remove unneeded _error function from CryptStreamCreator
This commit is contained in:
parent
42990b582f
commit
8b2b5b991b
1 changed files with 0 additions and 4 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue