diff --git a/tuf/download.py b/tuf/download.py index ccf3e6cd..687e8573 100755 --- a/tuf/download.py +++ b/tuf/download.py @@ -556,7 +556,7 @@ def _check_downloaded_length(total_downloaded, required_length, required_length. tuf.exceptions.SlowRetrievalError, if the total downloaded was - done in in less than the acceptable download speed (as set in + done in less than the acceptable download speed (as set in tuf.settings.py). diff --git a/tuf/repository_lib.py b/tuf/repository_lib.py index 6e474eda..e6d279a4 100755 --- a/tuf/repository_lib.py +++ b/tuf/repository_lib.py @@ -726,7 +726,7 @@ def _log_warning_if_expires_soon(rolename, expires_iso8601_timestamp, """ # Metadata stores expiration datetimes in ISO8601 format. Convert to - # unix timestamp, subtract from from current time.time() (also in POSIX time) + # unix timestamp, subtract from current time.time() (also in POSIX time) # and compare against 'seconds_remaining_to_warn'. Log a warning message # to console if 'rolename' expires soon. datetime_object = iso8601.parse_date(expires_iso8601_timestamp)