mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 01:05:54 +08:00
Fix typos reported by codespell
This commit is contained in:
committed by
Xiang Xiao
parent
b9f231cdca
commit
76acb32e29
@@ -61,7 +61,7 @@ def header_authors(header):
|
||||
results = list(filter(lambda s: s != '', results)) # remove empty strings
|
||||
return results
|
||||
|
||||
# Search for an author name in Apache's commiters/non-commiters
|
||||
# Search for an author name in Apache's committers/non-committers
|
||||
# database. It will return (apacheID,name) if there's a match or
|
||||
# None if not. apacheID might be None if there's no Apache ID
|
||||
# for author
|
||||
@@ -162,7 +162,7 @@ def analyze(j):
|
||||
|
||||
file_contents = get_file(commit['blob'])
|
||||
|
||||
# skip inaccesible blobs (probably lived in a submodule)
|
||||
# skip inaccessible blobs (probably lived in a submodule)
|
||||
|
||||
|
||||
if (not file_contents):
|
||||
|
||||
@@ -63,7 +63,7 @@ getblobs "$1" > $out2
|
||||
|
||||
if [ "$(jq '. | length' $out1)" != "$(jq '. | length' $out2)" ]; then
|
||||
# TODO: handle this case, we get more than one blob when the file is moved
|
||||
# to/from submodule and it difficults parsing. Also, the blob we get
|
||||
# to/from submodule and it difficulties parsing. Also, the blob we get
|
||||
# for when they file is in the submodule is not usable since it is possibly
|
||||
# from the pointed repo.
|
||||
echo "Log and blob list differ in size, probably a file which lived in a submodule"
|
||||
|
||||
Reference in New Issue
Block a user