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:
parent
528d3d4e0f
commit
55d914bf93
@ -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):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user