remove unnecessary functions
This commit is contained in:
parent
cfe73a8627
commit
e3cc3992b0
2 changed files with 0 additions and 10 deletions
|
@ -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()
|
||||
|
|
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue