-
Notifications
You must be signed in to change notification settings - Fork 275
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
I made a review on all files inside tuf/ngclient to see which of them needs additions or changes in their function docstrings regarding exceptions. I didn't find any changes required inside the request_fetcher.py and of course inside the config module. Other than that multiple additions had to be made. For trusted_metadata_set we had a discussion with Jussi that there is no need to list each of the specific RepositoryErrors one by one as this is an internal module and this will only create a bigger maintenance burden. For updater.py we had discussions with Jussi and Lukas that we want to document only those exceptions that could be potentially handled. This means there is no point in documenting each of the RepositoryErrors or DownloadErrors separately. Finally, I added a little documentation for download_bytes() inside fetcher.py, as it's naming, suggests it's not an internal function. Signed-off-by: Martin Vrachev <mvrachev@vmware.com>
- Loading branch information
Showing
3 changed files
with
26 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters