Merge pull request #4584 from withshubh/develop

fix: code quality issues
This commit is contained in:
Matthias
2021-04-02 15:19:49 +02:00
committed by GitHub
8 changed files with 11 additions and 21 deletions

View File

@@ -72,6 +72,5 @@ def copy_sample_files(directory: Path, overwrite: bool = False) -> None:
if not overwrite:
logger.warning(f"File `{targetfile}` exists already, not deploying sample file.")
continue
else:
logger.warning(f"File `{targetfile}` exists already, overwriting.")
logger.warning(f"File `{targetfile}` exists already, overwriting.")
shutil.copy(str(sourcedir / source), str(targetfile))