mirror of
https://github.com/theupdateframework/python-tuf
synced 2026-05-24 10:08:28 +00:00
Merge pull request #1072 from MVrachev/fix-unit-test
Fix prefix file_prefix to support "" value
This commit is contained in:
commit
284ff1cdbe
1 changed files with 1 additions and 1 deletions
|
|
@ -190,7 +190,7 @@ def __init__(self, project_name, metadata_directory, targets_directory,
|
|||
securesystemslib.formats.NAME_SCHEMA.check_match(project_name)
|
||||
securesystemslib.formats.PATH_SCHEMA.check_match(metadata_directory)
|
||||
securesystemslib.formats.PATH_SCHEMA.check_match(targets_directory)
|
||||
securesystemslib.formats.PATH_SCHEMA.check_match(file_prefix)
|
||||
securesystemslib.formats.ANY_STRING_SCHEMA.check_match(file_prefix)
|
||||
securesystemslib.formats.NAME_SCHEMA.check_match(repository_name)
|
||||
|
||||
self.metadata_directory = metadata_directory
|
||||
|
|
|
|||
Loading…
Reference in a new issue