mirror of
https://github.com/Abdess/retrobios.git
synced 2026-06-19 10:32:47 +00:00
refactor: centralize hash logic, fix circular imports and perf bottlenecks
This commit is contained in:
parent
becd0efb33
commit
08f68e792d
11 changed files with 132 additions and 113 deletions
|
|
@ -3,6 +3,7 @@
|
|||
from __future__ import annotations
|
||||
|
||||
import json
|
||||
import sys
|
||||
import urllib.request
|
||||
import urllib.error
|
||||
from abc import ABC, abstractmethod
|
||||
|
|
@ -168,7 +169,6 @@ def scraper_cli(scraper_class: type, description: str = "Scrape BIOS requirement
|
|||
reqs = scraper.fetch_requirements()
|
||||
except (ConnectionError, ValueError) as e:
|
||||
print(f"Error: {e}", file=sys.stderr)
|
||||
import sys
|
||||
sys.exit(1)
|
||||
|
||||
if args.dry_run:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue