mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-04-13 12:22:33 -05:00
refactor: consolidate CI pipeline, remove third-party deps
This commit is contained in:
@@ -111,7 +111,7 @@ class BaseScraper(ABC):
|
||||
try:
|
||||
self.fetch_requirements()
|
||||
return True
|
||||
except Exception:
|
||||
except (ConnectionError, ValueError, OSError):
|
||||
return False
|
||||
|
||||
@abstractmethod
|
||||
|
||||
@@ -239,7 +239,7 @@ class Scraper(BaseScraper):
|
||||
_versions.append(int(_num))
|
||||
if _versions:
|
||||
batocera_version = str(max(_versions))
|
||||
except Exception:
|
||||
except (ConnectionError, ValueError, OSError):
|
||||
pass
|
||||
|
||||
return {
|
||||
|
||||
@@ -208,7 +208,7 @@ class Scraper(BaseScraper):
|
||||
}
|
||||
except (urllib.error.URLError, urllib.error.HTTPError):
|
||||
continue
|
||||
except Exception:
|
||||
except (ConnectionError, ValueError, OSError):
|
||||
pass
|
||||
|
||||
return metadata
|
||||
|
||||
Reference in New Issue
Block a user