[samsung-security] Generify samsung-mobile method (#439)
- Make section and inclusions/exclusions configurable, - Remove Galaxy Tabs from samsung-mobile data (following https://github.com/endoflife-date/endoflife.date/pull/7513), - Initialize Galaxy Tabs dataset (following https://github.com/endoflife-date/endoflife.date/pull/7513).
This commit is contained in:
@@ -47,6 +47,9 @@ class AutoConfig:
|
||||
|
||||
return None
|
||||
|
||||
def is_excluded(self, version: str) -> bool:
|
||||
return self.first_match(version) is None
|
||||
|
||||
def render(self, match: re.Match) -> str:
|
||||
return self.version_template.render(**match.groupdict())
|
||||
|
||||
|
||||
Reference in New Issue
Block a user