chore: drop three reads whose result went nowhere

The requirement parser read core, hashMatchMandatory and note from
each bios element and discarded all three, which reads like a dropped
attribute: hashMatchMandatory decides whether a wrong hash is yellow or
red on Recalbox. It is not lost -- the config parser below captures it
for the YAML -- so these were leftovers, and they cost a look to
confirm that.

Two yaml imports left unused by the move to the shared loader go too.
This commit is contained in:
Abdessamad Derraz committed 2026-08-11 20:27:53 +02:00
1 parent e6813aaa60
commit b5f28d7b7f
3 files changed
-5

No files matched your search

-3
View File
@@ -140,10 +140,7 @@ class Scraper(BaseScraper):
for bios_elem in system_elem.findall("bios"):
paths_str = bios_elem.get("path", "")
md5_str = bios_elem.get("md5", "")
bios_elem.get("core", "")
mandatory = bios_elem.get("mandatory", "true") != "false"
bios_elem.get("hashMatchMandatory", "true") != "false"
bios_elem.get("note", "")
paths = [p.strip() for p in paths_str.split("|") if p.strip()]
if not paths: