Fixes from review (mostly spellings)

Co authored by:

* Joe Knapper <jaknapper@hotmail.com>
* Beth Probert <beth_probert@outlook.com>
This commit is contained in:
Julian Stirling 2025-04-10 16:35:49 +00:00
parent 840c527cc2
commit 26e265f026
2 changed files with 18 additions and 18 deletions

View file

@ -27,7 +27,7 @@ class ErrorCapturingThread(Thread):
args = ()
if kwargs is None:
kwargs = {}
# Make and empy list for the error.
# Make an empty list for the error.
self._error_buffer = []
# Add the target function end error buffer to the thread to the start of
@ -69,7 +69,7 @@ def _wrap_and_catch_errors(target, error_buffer, *args, **kwargs):
* error_buffer - An empty list that is used for returning
the exception from the thread
*args: The arguments for the target function
**keargs: The Keyword arguments for the target function
**kwargs: The Keyword arguments for the target function
"""
try:
target(*args, **kwargs)