Fix some codespell warnings

Brought to you by

	codespell -w

(using codespell v2.1.0).

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
This commit is contained in:
Kir Kolyshkin 2022-03-30 18:45:16 -07:00 committed by Andrei Vagin
parent 3f18004778
commit 0194ed392f
83 changed files with 124 additions and 124 deletions

View file

@ -187,7 +187,7 @@ int criu_dump_iters(int (*more)(criu_predump_info pi));
* As this library is just forwarding all tasks to an
* independent (of this library) CRIU binary, the actual
* version of the CRIU binary can be different then the
* hardcoded values in the libary (version.h).
* hardcoded values in the library (version.h).
* To be able to easily check the version of the CRIU binary
* the function criu_get_version() returns the version
* in the following format:

View file

@ -87,7 +87,7 @@ class entry_handler:
def load(self, f, pretty=False, no_payload=False):
"""
Convert criu image entries from binary format to dict(json).
Takes a file-like object and returnes a list with entries in
Takes a file-like object and returns a list with entries in
dict(json) format.
"""
entries = []

View file

@ -23,7 +23,7 @@ if "encodebytes" not in dir(base64):
# here are some of them:
# - both have a common bug in treating optional field with empty
# repeated inside.
# - protobuf-to-json is not avalible in pip or in any other python
# - protobuf-to-json is not available in pip or in any other python
# repo, so it is hard to distribute and we can't rely on it.
# - both do not treat enums in a way we would like to. They convert
# protobuf enum to int, but we need a string here, because it is