mirror of
https://github.com/theupdateframework/python-tuf
synced 2026-05-24 10:08:28 +00:00
fix-up the document spelling mistake
This commit is contained in:
parent
a66bd5f5b6
commit
a2a7faee92
5 changed files with 5 additions and 5 deletions
|
|
@ -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]
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue