gitlab ci

This commit is contained in:
Egor Matveev
2021-11-04 20:52:07 +03:00
parent 6bc184ed3e
commit 6a881b68c8
4 changed files with 20 additions and 34 deletions

View File

@@ -8,8 +8,5 @@ def copy_content(from_dir, to_dir, exc=()):
if file in exc:
continue
full_path = join(from_dir, file)
if isfile(full_path):
func = copyfile
else:
func = copytree
func = copyfile if isfile(full_path) else copytree
func(full_path, join(to_dir, file))