From 5c8acb83d26f9a684670444799b9a54f56ac5361 Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Sat, 6 Apr 2024 07:15:24 +1100 Subject: [PATCH] Fix spelling mistakes from #144 --- app/meticulous/_multiworker.py | 4 ++-- app/meticulous/_process.py | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/meticulous/_multiworker.py b/app/meticulous/_multiworker.py index aec918f..c800d4d 100644 --- a/app/meticulous/_multiworker.py +++ b/app/meticulous/_multiworker.py @@ -108,7 +108,7 @@ def handler(): ) return if tasks_empty: - print("All tasks complete and no new input - quiting.") + print("All tasks complete and no new input - quitting.") context.controller.quit() return context.controller.condition.wait(60) @@ -153,7 +153,7 @@ def clear_work_queue(target): # pylint: disable=unused-argument def show_work_queue(target): # pylint: disable=unused-argument """ - Dispay the current workload queue + Display the current workload queue """ key = "multiworker_workload" pprint.pprint(get_json_value(key, deflt=[])) diff --git a/app/meticulous/_process.py b/app/meticulous/_process.py index 9d1a9c4..be53025 100644 --- a/app/meticulous/_process.py +++ b/app/meticulous/_process.py @@ -275,7 +275,7 @@ def task_collect_nonwords(obj, eng): # pylint: disable=unused-argument repository_list = get_json_value(key, {}) count = len(repository_list) if count < 1: - print(f"Unexpected number of repostories - {count}") + print(f"Unexpected number of repositories - {count}") return reponame = next(iter(repository_list.keys())) interactive_task_collect_nonwords( @@ -290,7 +290,7 @@ def task_submit(obj, eng): # pylint: disable=unused-argument repository_saves = get_json_value("repository_saves", {}) count = len(repository_saves) if count < 1: - print(f"Unexpected number of repostories - {count}") + print(f"Unexpected number of repositories - {count}") return reponame, reposave = next(iter(repository_saves.items())) fast_prepare_a_pr_or_issue_for(reponame, reposave) @@ -304,7 +304,7 @@ def task_cleanup(obj, eng): # pylint: disable=unused-argument repository_map = get_json_value(key, {}) count = len(repository_map) if count < 1: - print(f"Unexpected number of repostories - {count}") + print(f"Unexpected number of repositories - {count}") return reponame, reposave = next(iter(repository_map.items())) remove_repo_for(reponame, reposave, confirm=False)