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

host: Fix typo s/src/source

Fix typo in LocalConnection._copy_path(): src => source
This commit is contained in:
Douglas Raillard 2021-08-10 11:17:16 +01:00 committed by Marc Bonnici
parent 676336a72a
commit 914a93355a

View File

@ -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