diff --git a/httpie/internal/daemons.py b/httpie/internal/daemons.py index 726d9265..929f960c 100644 --- a/httpie/internal/daemons.py +++ b/httpie/internal/daemons.py @@ -1,6 +1,6 @@ """ This module provides an interface to spawn a detached task to be -runned with httpie.internal.daemon_runner on a separate process. It is +run with httpie.internal.daemon_runner on a separate process. It is based on DVC's daemon system. https://github.com/iterative/dvc/blob/main/dvc/daemon.py """ diff --git a/httpie/utils.py b/httpie/utils.py index 5588e947..0c4e0048 100644 --- a/httpie/utils.py +++ b/httpie/utils.py @@ -277,7 +277,7 @@ def open_with_lockfile(file: Path, *args, **kwargs) -> Generator[IO[Any], None, target_file = Path(tempfile.gettempdir()) / file_id # Have an atomic-like touch here, so we'll tighten the possibility of - # a race occuring between multiple processes accessing the same file. + # a race occurring between multiple processes accessing the same file. try: target_file.touch(exist_ok=False) except FileExistsError as exc: