1
0
mirror of https://github.com/ARM-software/devlib.git synced 2025-01-31 02:00:45 +00:00

connection: Remove dead code

This commit is contained in:
Douglas Raillard 2023-02-20 18:17:58 +00:00 committed by Marc Bonnici
parent e0b1176757
commit 1c5412be2f

View File

@ -574,7 +574,6 @@ class TransferManagerBase(ABC):
) )
else: else:
return os.stat(dest).st_size return os.stat(dest).st_size
return 0
def _push_dest_size(self, dest): def _push_dest_size(self, dest):
cmd = '{} du -s {}'.format(quote(self.conn.busybox), quote(dest)) cmd = '{} du -s {}'.format(quote(self.conn.busybox), quote(dest))