Merge branch 'develop' into release/3.15.x

This commit is contained in:
Jakub Trllo 2022-11-01 14:02:48 +01:00
commit 0818edb58b
26 changed files with 658 additions and 254 deletions

View file

@ -817,6 +817,13 @@ class BootstrapRepos:
except Exception as e:
self._print(str(e), LOG_ERROR, exc_info=True)
return None
if not destination_dir.exists():
destination_dir.mkdir(parents=True)
elif not destination_dir.is_dir():
self._print(
"Destination exists but is not directory.", LOG_ERROR)
return None
try:
shutil.move(zip_file.as_posix(), destination_dir.as_posix())
except shutil.Error as e: