Run spellchecker on depot_tools
This was made by running `codespell` and `scspell`
and then checking the results.
Change-Id: I169fd5b40294f83015075b4a899fbca263821f25
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2144602
Commit-Queue: Quinten Yearsley <qyearsley@chromium.org>
Auto-Submit: Quinten Yearsley <qyearsley@chromium.org>
Reviewed-by: Edward Lesmes <ehmaldonado@chromium.org>
diff --git a/gclient_utils.py b/gclient_utils.py
index 540f2b7..498b27a 100644
--- a/gclient_utils.py
+++ b/gclient_utils.py
@@ -324,7 +324,7 @@
def safe_makedirs(tree):
"""Creates the directory in a safe manner.
- Because multiple threads can create these directories concurently, trap the
+ Because multiple threads can create these directories concurrently, trap the
exception and pass on.
"""
count = 0
@@ -456,7 +456,7 @@
finally:
self.lock.release()
- # Don't keep the lock while writting. Will append \n when it shouldn't.
+ # Don't keep the lock while writing. Will append \n when it shouldn't.
for orphan in orphans:
if orphan[1]:
self._wrapped_write(b'%d>%s\n' % (orphan[0], orphan[1]))
@@ -1205,7 +1205,7 @@
for path_folder in path_folders:
target = os.path.join(path_folder, executable)
- # Just incase we have some ~/blah paths.
+ # Just in case we have some ~/blah paths.
target = os.path.abspath(os.path.expanduser(target))
if os.path.isfile(target) and os.access(target, os.X_OK):
return target