summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSADIK KUZU <sadikkuzu@hotmail.com>2022-05-19 16:22:50 +0300
committerGitHub <noreply@github.com>2022-05-19 16:22:50 +0300
commit542a2d35dec803f35808bda82c1f308820c563f6 (patch)
treee5aecfa8245a57b48843ff0820abd203948a772c
parentd9e1dc08c9b4eb0d6021360118daca87fa248400 (diff)
Fix typos in comment lines (#1405)
* httpie/internal/daemons.py * httpie/utils.py
-rw-r--r--httpie/internal/daemons.py2
-rw-r--r--httpie/utils.py2
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: