correct Guanghu OS master and Linux subcontrol topology
This commit is contained in:
parent
69d1910775
commit
4e64aabbf1
13 changed files with 509 additions and 22 deletions
|
|
@ -31,6 +31,8 @@ NODE_FIELDS = {"id", "kind", "statement", "parents", "evidence", "state"}
|
|||
def load_contributions(directory: Path = DEFAULT_CONTRIBUTIONS) -> list[dict]:
|
||||
contributions = []
|
||||
for path in sorted(directory.glob("*.json")):
|
||||
if path.name.startswith("._"):
|
||||
continue
|
||||
with path.open(encoding="utf-8") as handle:
|
||||
item = json.load(handle)
|
||||
missing = REQUIRED_FIELDS.difference(item)
|
||||
|
|
|
|||
Loading…
Reference in a new issue