small fix

This commit is contained in:
svlandeg 2020-06-30 21:56:17 +02:00
parent 8eca7e995e
commit a7d547c65e

View File

@ -248,7 +248,7 @@ def project_clone(
run_command(["git", "-C", str(tmp_dir), "fetch"]) run_command(["git", "-C", str(tmp_dir), "fetch"])
run_command(["git", "-C", str(tmp_dir), "checkout"]) run_command(["git", "-C", str(tmp_dir), "checkout"])
except SystemExit: except SystemExit:
err = f"Could not clone {name} in the repo '{repo}'." err = f"Could not clone '{name}' in the repo '{repo}'."
msg.fail(err) msg.fail(err)
shutil.move(str(tmp_dir / Path(name).name), str(project_dir)) shutil.move(str(tmp_dir / Path(name).name), str(project_dir))
msg.good(f"Cloned project '{name}' from {repo} into {project_dir}") msg.good(f"Cloned project '{name}' from {repo} into {project_dir}")