Skip to content

Commit 778dc04

Browse files
committed
[DATALAD RUNCMD] Do interactive fixing of some ambigous typos
=== Do not change lines below === { "chain": [], "cmd": "codespell -w -i 3 -C 2", "exit": 0, "extra_inputs": [], "inputs": [], "outputs": [], "pwd": "." } ^^^ Do not change lines above ^^^
1 parent a91a925 commit 778dc04

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

command_runner/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ def kill_childs_mod(
352352
"""
353353
Inline version of ofunctions.kill_childs that has no hard dependency on psutil
354354
355-
Kills all childs of pid (current pid can be obtained with os.getpid())
355+
Kills all children of pid (current pid can be obtained with os.getpid())
356356
If no pid given current pid is taken
357357
Good idea when using multiprocessing, is to call with atexit.register(ofunctions.kill_childs, os.getpid(),)
358358
@@ -687,7 +687,7 @@ def __check_timeout(
687687
# type: (...) -> None
688688
"""
689689
Simple subfunction to check whether timeout is reached
690-
Since we check this alot, we put it into a function
690+
Since we check this a lot, we put it into a function
691691
"""
692692
if timeout and (datetime.now() - begin_time).total_seconds() > timeout:
693693
kill_childs_mod(process.pid, itself=True, soft_kill=False)

0 commit comments

Comments
 (0)