Exemplo n.º 1
0
 def try_expand_by_regex(self, cves: list) -> list:
     """Expand list with a POSIX regex if possible"""
     out_cves = try_expand_by_regex(cves, self.cache.cve_detail)
     return out_cves
Exemplo n.º 2
0
 def try_expand_by_regex(self, repos: list) -> list:
     """Expand list with a POSIX regex if possible"""
     out_repos = try_expand_by_regex(repos, self.cache.repolabel2ids)
     return out_repos
Exemplo n.º 3
0
 def try_expand_by_regex(self, api_version: int, names: list) -> list:
     """Expand list with a POSIX regex if possible"""
     if api_version >= 3:
         out_names = try_expand_by_regex(names, self.cache.packagename2id)
         return out_names
     return names
Exemplo n.º 4
0
 def try_expand_by_regex(self, erratas: list) -> list:
     """Expand list with a POSIX regex if possible"""
     out_erratas = try_expand_by_regex(erratas, self.cache.errata_detail)
     return out_erratas