summaryrefslogtreecommitdiff
path: root/src/conf_mode/interfaces-bonding.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-07-01 20:46:43 +0200
committerChristian Poessinger <christian@poessinger.com>2021-07-01 20:46:43 +0200
commit63e6c00864a8a4134c9bd3187d2422a6511c84b0 (patch)
tree2883e8d2b8282d60af3d58f656bb184d0e82fc99 /src/conf_mode/interfaces-bonding.py
parentf4dd2ea487d6dc11fdc73d4218bb23bd7b9ca2f9 (diff)
downloadvyos-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/conf_mode/interfaces-bonding.py')
0 files changed, 0 insertions, 0 deletions