remove unnecessary functions

This commit is contained in:
Jack Robison 2017-09-07 11:56:47 -04:00
parent cfe73a8627
commit e3cc3992b0
No known key found for this signature in database
GPG key ID: 284699E7404E3CFF
2 changed files with 0 additions and 10 deletions

View file

@ -77,12 +77,6 @@ class CryptStreamCreator(StreamCreator):
self.finished_deferreds.append(d)
def _write(self, data):
def close_blob(blob):
d = blob.close()
d.addCallback(self._blob_finished)
d.addErrback(self._error)
self.finished_deferreds.append(d)
while len(data) > 0:
if self.current_blob is None:
self.next_blob_creator = self.blob_manager.get_blob_creator()

View file

@ -40,10 +40,6 @@ class EncryptedFileStreamCreator(CryptStreamCreator):
self.blob_infos)
return d
def setup(self):
d = CryptStreamCreator.setup(self)
return d
def _get_blobs_hashsum(self):
blobs_hashsum = get_lbry_hash_obj()
for blob_info in sorted(self.blob_infos, key=lambda b_i: b_i.blob_num):