mirror of
https://github.com/theupdateframework/python-tuf
synced 2026-05-24 10:08:28 +00:00
Fix a bug.
This commit is contained in:
parent
64e0987a40
commit
4e560bc8af
1 changed files with 2 additions and 0 deletions
|
|
@ -1174,6 +1174,8 @@ def _update_metadata_if_changed(self, metadata_role, referenced_metadata='releas
|
|||
logger.debug('Compressed version of '+\
|
||||
repr(uncompressed_metadata_filename)+' not available.')
|
||||
fileinfo = uncompressed_fileinfo
|
||||
else:
|
||||
fileinfo = uncompressed_fileinfo
|
||||
|
||||
# Simply return if the file has not changed, according to the metadata
|
||||
# about the uncompressed file provided by the referenced metadata.
|
||||
|
|
|
|||
Loading…
Reference in a new issue