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

target: Fix typo in Target._prepare_xfer

This commit is contained in:
Douglas Raillard 2021-08-12 10:32:41 +01:00 committed by Marc Bonnici
parent 528d3d4e0f
commit 55d914bf93

View File

@ -474,7 +474,7 @@ class Target(object):
dst_mkdir = functools.partial(os.makedirs, exist_ok=True) dst_mkdir = functools.partial(os.makedirs, exist_ok=True)
if not sources: if not sources:
raise src_excep('No file matching: {}'.format(source)) raise src_excep('No file matching: {}'.format(sources))
elif len(sources) > 1: elif len(sources) > 1:
if dst_path_exists(dest): if dst_path_exists(dest):
if not dst_is_dir(dest): if not dst_is_dir(dest):