Remove unneeded code

This commit is contained in:
Kovid Goyal 2021-10-02 11:24:43 +05:30
parent 20fcc5e31b
commit c79a0108a1
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -88,10 +88,6 @@ class File:
def start_delta_calculation(self) -> None:
sl = self.signature_loader
assert sl is not None
if not sl.finished:
sl()
if not sl.finished:
raise ValueError('Delta signature is incomplete')
self.state = FileState.transmitting
self.delta_loader = delta_for_file(self.expanded_local_path, sl.signature)