remove unneeded _error function from CryptStreamCreator

This commit is contained in:
Kay Kurokawa 2017-10-12 12:17:04 -04:00
parent 42990b582f
commit 8b2b5b991b

View file

@ -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()