mirror of
https://github.com/miurahr/aqtinstall.git
synced 2025-12-17 20:54:38 +03:00
Make match_any_ext use TARGETS_FOR_HOST const array for values
This commit is contained in:
@@ -782,7 +782,7 @@ class MetadataFactory:
|
|||||||
def match_any_ext(ver: Version) -> bool:
|
def match_any_ext(ver: Version) -> bool:
|
||||||
return (
|
return (
|
||||||
self.archive_id.host == "all_os"
|
self.archive_id.host == "all_os"
|
||||||
and self.archive_id.target in {"wasm", "android"}
|
and self.archive_id.target in ArchiveId.TARGETS_FOR_HOST["all_os"]
|
||||||
and ver in SimpleSpec("6.7.*")
|
and ver in SimpleSpec("6.7.*")
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user