Remove unneeded code
This commit is contained in:
parent
20fcc5e31b
commit
c79a0108a1
@ -88,10 +88,6 @@ class File:
|
|||||||
def start_delta_calculation(self) -> None:
|
def start_delta_calculation(self) -> None:
|
||||||
sl = self.signature_loader
|
sl = self.signature_loader
|
||||||
assert sl is not None
|
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.state = FileState.transmitting
|
||||||
self.delta_loader = delta_for_file(self.expanded_local_path, sl.signature)
|
self.delta_loader = delta_for_file(self.expanded_local_path, sl.signature)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user