mirror of
https://github.com/ARM-software/devlib.git
synced 2025-01-31 02:00:45 +00:00
connection: Remove trailing whitespace
This commit is contained in:
parent
3bc98f855b
commit
31f7c1e8f9
@ -436,7 +436,7 @@ class TransferManagerBase(ABC):
|
||||
self.transfer_started.clear()
|
||||
self.transfer_completed.clear()
|
||||
self.transfer_aborted.clear()
|
||||
|
||||
|
||||
def _monitor(self):
|
||||
start_t = monotonic()
|
||||
self.transfer_completed.wait(self.start_transfer_poll_delay)
|
||||
@ -470,7 +470,7 @@ class PopenTransferManager(TransferManagerBase):
|
||||
def set_transfer_and_wait(self, popen_bg_cmd):
|
||||
self.transfer = popen_bg_cmd
|
||||
ret = self.transfer.wait()
|
||||
|
||||
|
||||
if ret and not self.transfer_aborted.is_set():
|
||||
raise subprocess.CalledProcessError(ret, self.transfer.popen.args)
|
||||
elif self.transfer_aborted.is_set():
|
||||
@ -520,4 +520,4 @@ class SSHTransferManager(TransferManagerBase):
|
||||
self.to_transfer = args[1]
|
||||
elif len(args) == 2: # For SFTPClient callbacks
|
||||
self.transferred = args[0]
|
||||
self.to_transfer = args[1]
|
||||
self.to_transfer = args[1]
|
||||
|
Loading…
x
Reference in New Issue
Block a user