From ffdfaa92da515488dd3a35503aa33544b4d08801 Mon Sep 17 00:00:00 2001 From: Vladimir Diaz Date: Thu, 14 Dec 2017 16:35:10 -0500 Subject: [PATCH] 'repositories' map file attribute should be a list of names Signed-off-by: Vladimir Diaz --- tuf/formats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tuf/formats.py b/tuf/formats.py index 63b00237..b3df5d98 100755 --- a/tuf/formats.py +++ b/tuf/formats.py @@ -269,7 +269,7 @@ # An object containing the map file's "mapping" attribute. MAPPING_SCHEMA = SCHEMA.ListOf(SCHEMA.Object( paths = RELPATHS_SCHEMA, - repositories = SCHEMA.ListOf(securesystemslib.formats.URL_SCHEMA), + repositories = SCHEMA.ListOf(NAME_SCHEMA), terminating = BOOLEAN_SCHEMA, threshold = THRESHOLD_SCHEMA))