added test printing of var

This commit is contained in:
brb
2023-07-13 12:35:11 +02:00
parent 320efedd50
commit b4f1eab752
+2 -1
View File
@@ -22,10 +22,11 @@ def clone_repository(
repo_url: AnyHttpUrl,
repo_dir: str = REPO_DIR
) -> Path:
print('repo_url: ', repo_url)
print('repo_dir: ', repo_dir)
# extract repo name
repo_name = repo_url.split('/')[-1].replace('.git', '')
dst_dir = Path(repo_dir) / repo_name
logging.warning(dst_dir)
# prepare repo download dir
if dst_dir.exists():
shutil.rmtree(dst_dir)