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:
parent
676336a72a
commit
914a93355a
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user