From edc53b165a3bb7e5c2d98bf753ffe8e790a09450 Mon Sep 17 00:00:00 2001 From: Vladimir Diaz Date: Mon, 16 Oct 2017 15:47:33 -0400 Subject: [PATCH] Fix mapping schema Signed-off-by: Vladimir Diaz --- tuf/formats.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tuf/formats.py b/tuf/formats.py index 28cbe0b6..a8cbb453 100755 --- a/tuf/formats.py +++ b/tuf/formats.py @@ -258,9 +258,9 @@ TARGETINFOS_SCHEMA = SCHEMA.ListOf(TARGETINFO_SCHEMA) # A Dict containing the map file's "mapping" attribute. -MAPPING_SCHEMA = SCHEMA.Oject( +MAPPING_SCHEMA = SCHEMA.Object( paths = RELPATHS_SCHEMA, - repositories = SCHEMA.ListOf(NAME_SCHEMA), + repositories = SCHEMA.ListOf(SCHEMA.AnyString()), terminating = BOOLEAN_SCHEMA, threshold = THRESHOLD_SCHEMA)