From 18a35c7209bdb56d51b6ec5112ae34072f6f40c8 Mon Sep 17 00:00:00 2001 From: Graeme Smecher Date: Tue, 28 Feb 2023 17:18:07 -0800 Subject: [PATCH] Correct "Clonned" / "Clonning" typos --- riscof/arch_test.py | 4 ++-- riscof/cli.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/riscof/arch_test.py b/riscof/arch_test.py index 8cff511..fd4d120 100644 --- a/riscof/arch_test.py +++ b/riscof/arch_test.py @@ -49,12 +49,12 @@ def update(path,branch='main'): logger.info("Directory does not contain the riscv-arch-test repo.") def clone(path,branch="main"): - logger.info("Clonning repository at "+str(path)) + logger.info("Cloning repository at "+str(path)) repo = git.Repo.clone_from(constants.https_url, path) latest_tag = (repo.tags)[-1] checkout_target = latest_tag if branch=='latest' else branch repo.git.checkout(checkout_target) version, _ = get_version(path) - logger.info("Clonned version {0} of the repository with commit hash {1} ".format( + logger.info("Cloned version {0} of the repository with commit hash {1} ".format( str(version['version']),version['commit'])) diff --git a/riscof/cli.py b/riscof/cli.py index 26af62e..89fae8a 100644 --- a/riscof/cli.py +++ b/riscof/cli.py @@ -479,7 +479,7 @@ def arch_test(dir,get_version,clone,update,show_version): if not is_repo: logger.error("Not the riscv-arch-test repo.") else: - logger.info("Clonned version {0} of the repository with commit hash {1} ".format( + logger.info("Cloned version {0} of the repository with commit hash {1} ".format( version['version'],version['commit'])) else: logger.error("Please specify one of [update,clone,show-version] flags.")