fix-up the document spelling mistake

This commit is contained in:
chentanjun 2019-08-27 14:38:03 +08:00
parent a66bd5f5b6
commit a2a7faee92
5 changed files with 5 additions and 5 deletions

View file

@ -200,7 +200,7 @@ $ python basic_client.py --repo http://localhost:8001
At this point, part of the "file1.txt" file should have been fetched. That is,
up to 31 bytes of it should have been downloaded, and the rest of the maliciously
appended data ignored. If we inspect the logger, we'd disover the following:
appended data ignored. If we inspect the logger, we'd discover the following:
```Bash
[2016-10-06 21:37:39,092 UTC] [tuf.download] [INFO] [_download_file:235@download.py]

View file

@ -519,7 +519,7 @@ def create_new_project(project_name, metadata_directory,
location_in_repository:
An optional argument to hold the "prefix" or the expected location for
the project files in the "upstream" respository. This value is only
the project files in the "upstream" repository. This value is only
used to sign metadata in a way that it matches the future location
of the files.

View file

@ -398,7 +398,7 @@ def _download_fixed_amount_of_data(response, temp_file, required_length):
else:
logger.debug('The average download speed has not dipped below the'
' mimimum average download speed set in tuf.settings.py.')
' minimum average download speed set in tuf.settings.py.')
# We might have no more data to read. Check number of bytes downloaded.
if not data:

View file

@ -2131,7 +2131,7 @@ def create_tuf_client_directory(repository_directory, client_directory):
# If the client's metadata directory does not already exist, create it and
# any of its parent directories, otherwise raise an exception. An exception
# is raised to avoid accidently overwritting previous metadata.
# is raised to avoid accidentally overwritting previous metadata.
try:
os.makedirs(client_metadata_directory)

View file

@ -112,7 +112,7 @@
in --role) to --delegatee role with specified <rolename>.
--delegatee:
Specify role that is targetted by delegator in --role to sign for
Specify role that is targeted by delegator in --role to sign for
target files matching delegated <glob pattern> or in revocation of trust.
--terminating: