diff options
| author | Marcin Juszkiewicz <marcin.juszkiewicz+kolla@linaro.org> | 2022-09-14 15:49:48 +0200 |
|---|---|---|
| committer | Marcin Juszkiewicz <marcin.juszkiewicz+kolla@linaro.org> | 2022-09-14 15:52:28 +0200 |
| commit | 0e3a55252b04e8e81db7b0f5636fb6624824a5cb (patch) | |
| tree | f1e820f5f51a5df69a4bf18ea63b3f5f80c64ff8 /docker/cloudkitty/cloudkitty-api | |
| parent | 0d4e8e6c11947e07953121d6009809db69f4965b (diff) | |
| download | kolla-0e3a55252b04e8e81db7b0f5636fb6624824a5cb.tar.gz kolla-0e3a55252b04e8e81db7b0f5636fb6624824a5cb.zip | |
Python 3.8+ has better shutil.copytree()
doc says:
> If dirs_exist_ok is false (the default) and dst already exists, a
> FileExistsError is raised. If dirs_exist_ok is true, the copying
> operation will continue if it encounters existing directories, and files
> within the dst tree will be overwritten by corresponding files from the
> src tree.
So we do not have to copy dirs/files one by one and tell
shutil.copytree() to handle everything.
Change-Id: I97d9c8261351b8fd88f088c1463cc508e07792e7
Diffstat (limited to 'docker/cloudkitty/cloudkitty-api')
0 files changed, 0 insertions, 0 deletions
