Merge pull request #869 from MRoci/master
Root content.json "signers" field as a list
This commit is contained in:
commit
85b2a81568
1 changed files with 1 additions and 1 deletions
|
@ -633,7 +633,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:
|
||||
|
|
Loading…
Reference in a new issue