From 4e560bc8af62ac10cffb7dbc42c55b6f0ccf09e9 Mon Sep 17 00:00:00 2001 From: dachshund Date: Sat, 7 Sep 2013 19:57:09 -0400 Subject: [PATCH] Fix a bug. --- tuf/client/updater.py | 2 ++ 1 file changed, 2 insertions(+) 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.