From 990d2f8c0c96b55c918eb34c4ac92b017c7113d6 Mon Sep 17 00:00:00 2001 From: Guangming Wang Date: Sat, 17 Aug 2019 00:14:02 +0800 Subject: [PATCH] cleanup code message words by fix typos Signed-off-by: Guangming Wang --- tuf/repository_lib.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tuf/repository_lib.py b/tuf/repository_lib.py index 10a1444b..c31ac23e 100755 --- a/tuf/repository_lib.py +++ b/tuf/repository_lib.py @@ -251,7 +251,7 @@ def _metadata_is_partially_loaded(rolename, signable, repository_name): at least zero good signatures, but an insufficient threshold (which means 'rolename' was written to disk with repository.write_partial()). A repository maintainer may write partial metadata without including a valid signature. - Howerver, the final repository.write() must include a threshold number of + However, the final repository.write() must include a threshold number of signatures. If 'rolename' is found to be partially loaded, mark it as partially loaded in @@ -2080,7 +2080,7 @@ def create_tuf_client_directory(repository_directory, client_directory): is copied and that required directories ('previous' and 'current') are created in 'client_directory'. Software updaters integrating TUF may use the client directory created as an initial copy of the repository's - metadadata. + metadata. repository_directory: @@ -2090,7 +2090,7 @@ def create_tuf_client_directory(repository_directory, client_directory): client_directory: The path of the root client directory. The 'current' and 'previous' - sub-directies are created and will store the metadata files copied + sub-directories are created and will store the metadata files copied from 'repository_directory'. 'client_directory' will store metadata and target files downloaded from a TUF repository.