Skip to content

Commit

Permalink
fix spellings
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian-B committed Jun 27, 2024
1 parent 6b41eb2 commit ec0212d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions spalloc_client/protocol_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -397,12 +397,12 @@ def get_job_machine_info(self, job_id: int,

def power_on_job_boards(self, job_id: int,
timeout: Optional[int] = None) -> JsonObject:
""" Turn on the power on the jobs baords. """
""" Turn on the power on the jobs boards. """
return self.call("power_on_job_boards", job_id, timeout=timeout)

def power_off_job_boards(self, job_id: int,
timeout: Optional[int] = None) -> JsonObject:
""" Turn off the power on the jobs baords. """
""" Turn off the power on the jobs boards. """
return self.call("power_off_job_boards", job_id, timeout=timeout)

def destroy_job(self, job_id: int, reason: Optional[str] = None,
Expand Down
6 changes: 3 additions & 3 deletions spalloc_client/scripts/support.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def __init__(self, code: int, *args: Tuple[object]):
self._msg = message

def exit(self):
""" Exit the program after priintg and erro msg. """
""" Exit the program after printing an error msg. """
if self._msg is not None:
sys.stderr.write(self._msg + "\n")
sys.exit(self._code)
Expand All @@ -58,7 +58,7 @@ def version_verify(client: ProtocolClient, timeout: Optional[int]):


class Script(object):
""" Base class of various Scopt Objects. """
""" Base class of various Script Objects. """
def __init__(self):
self.client_factory = ProtocolClient

Expand All @@ -80,7 +80,7 @@ def body(self, client: ProtocolClient, args: List[str]):
def build_server_arg_group(self, server_args: Any,
cfg: Dict[str, object]):
"""
Adds a few more arguements
Adds a few more arguments
:param argparse._ArguementGroup server_args:
"""
Expand Down

0 comments on commit ec0212d

Please sign in to comment.