diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-07-01 20:46:43 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-07-01 20:46:43 +0200 |
commit | 63e6c00864a8a4134c9bd3187d2422a6511c84b0 (patch) | |
tree | 2883e8d2b8282d60af3d58f656bb184d0e82fc99 /src/tests | |
parent | f4dd2ea487d6dc11fdc73d4218bb23bd7b9ca2f9 (diff) | |
download | vyos-1x-63e6c00864a8a4134c9bd3187d2422a6511c84b0.tar.gz vyos-1x-63e6c00864a8a4134c9bd3187d2422a6511c84b0.zip |
vyos.util: fix IsADirectoryError and SameFileError for copy_file
Commit 5303ec39 ("vyos.util: add new helper copy_file()") added a new helper
function to copy a file from A -> B and create the destination directory if
required. It did also throw an excpetion if the destination file already
existed and consisted of the same file - this is now ignored and we always
copy the source to the destination.
Diffstat (limited to 'src/tests')
0 files changed, 0 insertions, 0 deletions