From 55d914bf93ddd0f21e7ace3acbd2431d414b9e99 Mon Sep 17 00:00:00 2001 From: Douglas Raillard Date: Thu, 12 Aug 2021 10:32:41 +0100 Subject: [PATCH] target: Fix typo in Target._prepare_xfer --- devlib/target.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devlib/target.py b/devlib/target.py index 7f6dac1..9c26e79 100644 --- a/devlib/target.py +++ b/devlib/target.py @@ -474,7 +474,7 @@ class Target(object): dst_mkdir = functools.partial(os.makedirs, exist_ok=True) if not sources: - raise src_excep('No file matching: {}'.format(source)) + raise src_excep('No file matching: {}'.format(sources)) elif len(sources) > 1: if dst_path_exists(dest): if not dst_is_dir(dest):