From 914a93355a7c2e7c36c60a910d5c57c47c125a73 Mon Sep 17 00:00:00 2001 From: Douglas Raillard Date: Tue, 10 Aug 2021 11:17:16 +0100 Subject: [PATCH] host: Fix typo s/src/source Fix typo in LocalConnection._copy_path(): src => source --- devlib/host.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devlib/host.py b/devlib/host.py index 8bd0edf..1dac700 100644 --- a/devlib/host.py +++ b/devlib/host.py @@ -71,7 +71,7 @@ class LocalConnection(ConnectionBase): # Behave similarly as cp, scp, adb push, etc. by creating a new # folder instead of merging hierarchies if os.path.exists(dest): - dest = os.path.join(dest, os.path.basename(os.path.normpath(src))) + dest = os.path.join(dest, os.path.basename(os.path.normpath(source))) # Use distutils copy_tree since it behaves the same as # shutils.copytree except that it won't fail if some folders