diff --git a/tuf/client/updater.py b/tuf/client/updater.py index d36929f0..15dc1000 100755 --- a/tuf/client/updater.py +++ b/tuf/client/updater.py @@ -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.