mirror of
https://github.com/theupdateframework/python-tuf
synced 2026-05-24 10:08:28 +00:00
Exceptions updater in tuf.interposition.updater
This commit is contained in:
parent
1a5a746df2
commit
a2928d60b2
1 changed files with 1 additions and 0 deletions
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Reference in a new issue