Exceptions updater in tuf.interposition.updater

This commit is contained in:
Pankh 2014-09-29 14:21:12 -04:00
parent 1a5a746df2
commit a2928d60b2

View file

@ -379,6 +379,7 @@ def download_target(self, target_filepath):
# Download file into a temporary directory shared over runtime
destination_directory = self.tempdir
tuf.formats.RELPATH_SCHEMA.check_match(target_filepath)
# A new path is generated by joining the destination directory path that is
# our temporary directory path and target file path.
# Note: join() discards 'destination_directory' if 'target_filepath'