[PR #9442/ec585392 backport][stable-10] Docs: fix its vs. it's (#9458)

Docs: fix its vs. it's (#9442)

* Fix its vs. it's.

* Improvements from review.

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>

* Improve formulations.

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>

---------

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
(cherry picked from commit ec585392e5)

Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
patchback[bot]
2024-12-29 14:13:18 +01:00
committed by GitHub
parent 60d51f7b49
commit 98a956a9d6
60 changed files with 88 additions and 88 deletions

View File

@@ -158,7 +158,7 @@ def waitForTaskDone(client, name, taskId, timeout):
task = client.get('/ip/{0}/task/{1}'.format(quote_plus(name), taskId))
if task['status'] == 'done':
return True
time.sleep(5) # Delay for 5 sec because it's long to wait completion, do not harass the API
time.sleep(5) # Delay for 5 sec to not harass the API
currentTimeout -= 5
if currentTimeout < 0:
return False