From 542a2d35dec803f35808bda82c1f308820c563f6 Mon Sep 17 00:00:00 2001 From: SADIK KUZU Date: Thu, 19 May 2022 16:22:50 +0300 Subject: [PATCH] Fix typos in comment lines (#1405) * httpie/internal/daemons.py * httpie/utils.py --- httpie/internal/daemons.py | 2 +- httpie/utils.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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: