From 9ac5746e3c59c5a8eeaaaf030b48ff11a0986a1b Mon Sep 17 00:00:00 2001 From: MRoci Date: Thu, 23 Mar 2017 23:24:30 +0100 Subject: [PATCH] Changed this assignment to have the "signers" field in root's content.json as a list and not a dictionary to mantain uniformity with "includes" "signers" field and for not having a dict with empty values --- src/Content/ContentManager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Content/ContentManager.py b/src/Content/ContentManager.py index be221765..912b4bab 100644 --- a/src/Content/ContentManager.py +++ b/src/Content/ContentManager.py @@ -631,7 +631,7 @@ class ContentManager(object): valid_signers = [] if inner_path == "content.json": # Root content.json if "content.json" in self.contents and "signers" in self.contents["content.json"]: - valid_signers += self.contents["content.json"]["signers"].keys() + valid_signers += self.contents["content.json"]["signers"][:] else: rules = self.getRules(inner_path, content) if rules and "signers" in rules: