mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-06 10:03:49 -06:00
refactor: keep the bundled names out of listed
The bundled line reused the name of the str that holds the Core files hint for a list. mypy reports it against the baseline.
This commit is contained in:
1 parent
f2132cc2c0
commit
3eade14d4f
1 file changed
+2
-2
+2
-2
@@ -1926,10 +1926,10 @@ def _print_undeclared_section(result: dict, verbose: bool) -> None:
|
||||
# The required firmware alone read as the whole count: 14 names
|
||||
# for 154 entries, nothing saying the rest existed.
|
||||
hidden = len({u["name"] for u in bundled}) - len(named)
|
||||
listed = named + ([f"{hidden} more, --verbose lists them"] if hidden else [])
|
||||
items = named + ([f"{hidden} more, --verbose lists them"] if hidden else [])
|
||||
print(
|
||||
f" Bundled with their emulator, not collected: {len(bundled)}"
|
||||
+ (f" ({', '.join(listed)})" if listed else "")
|
||||
+ (f" ({', '.join(items)})" if items else "")
|
||||
)
|
||||
if unplaced:
|
||||
print(f" Core files held but not packed: {len(unplaced)} "
|
||||
|
||||
Reference in new issue
Block a user