mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-17 00:43:29 -05:00
fix: diff the truth against the platform's own list
This commit is contained in:
1 parent
9a77ce4a34
commit
a7af0445e3
5 files changed
+101
-32
No files matched your search
+10
-2
@@ -16,7 +16,13 @@ import os
|
||||
import sys
|
||||
|
||||
sys.path.insert(0, os.path.dirname(__file__))
|
||||
from common import list_registered_platforms, load_platform_config, require_yaml, yaml_load
|
||||
from common import (
|
||||
list_registered_platforms,
|
||||
load_platform_config,
|
||||
native_layer,
|
||||
require_yaml,
|
||||
yaml_load,
|
||||
)
|
||||
from truth import diff_platform_truth
|
||||
|
||||
yaml = require_yaml()
|
||||
@@ -188,7 +194,9 @@ def main() -> None:
|
||||
continue
|
||||
|
||||
try:
|
||||
scraped = load_platform_config(platform, args.platforms_dir)
|
||||
# What the platform's own file declares: our shared groups,
|
||||
# mirrors and curated additions are not theirs to be credited.
|
||||
scraped = native_layer(load_platform_config(platform, args.platforms_dir))
|
||||
except FileNotFoundError:
|
||||
print(f"skip {platform}: no scraped config", file=sys.stderr)
|
||||
continue
|
||||
|
||||
Reference in new issue
Block a user