Skip to content

Commit

Permalink
Merge pull request riscv-software-src#81 from gsmecher/typos
Browse files Browse the repository at this point in the history
Correct "Clonned" / "Clonning" typos
  • Loading branch information
jamesbeyond authored Aug 21, 2023
2 parents a25e315 + 18a35c7 commit 108fa2d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions riscof/arch_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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']))

2 changes: 1 addition & 1 deletion riscof/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.")
Expand Down

0 comments on commit 108fa2d

Please sign in to comment.