Skip to content

Commit 284ff1c

Browse files
authored
Merge pull request #1072 from MVrachev/fix-unit-test
Fix prefix file_prefix to support "" value
2 parents 9582764 + e650670 commit 284ff1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tuf/developer_tool.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ def __init__(self, project_name, metadata_directory, targets_directory,
190190
securesystemslib.formats.NAME_SCHEMA.check_match(project_name)
191191
securesystemslib.formats.PATH_SCHEMA.check_match(metadata_directory)
192192
securesystemslib.formats.PATH_SCHEMA.check_match(targets_directory)
193-
securesystemslib.formats.PATH_SCHEMA.check_match(file_prefix)
193+
securesystemslib.formats.ANY_STRING_SCHEMA.check_match(file_prefix)
194194
securesystemslib.formats.NAME_SCHEMA.check_match(repository_name)
195195

196196
self.metadata_directory = metadata_directory

0 commit comments

Comments
 (0)