mirror of
https://github.com/miurahr/aqtinstall.git
synced 2025-12-16 20:27:05 +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:
|
||||
return (
|
||||
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.*")
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user