mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-14 03:30:02 +00:00
support: change handling of "soon" coins
"soon" coins that are not tokens will not be included in build
This commit is contained in:
parent
7eb479c4f3
commit
91923097de
@ -111,7 +111,10 @@ def ascii_filter(s):
|
||||
def make_support_filter(support_info):
|
||||
def supported_on(device, coins):
|
||||
for coin in coins:
|
||||
if support_info[coin.key].get(device):
|
||||
supp = support_info[coin.key].get(device)
|
||||
if not supp:
|
||||
continue
|
||||
if coin_info.is_token(coin) or supp != "soon":
|
||||
yield coin
|
||||
|
||||
return supported_on
|
||||
|
@ -401,8 +401,7 @@ def release(
|
||||
]
|
||||
for coin in soon_list:
|
||||
key = coin["key"]
|
||||
print(f"Releasing {key} ({coin['name']}) marked 'soon'")
|
||||
set_supported(device, key, version)
|
||||
maybe_add(coin, "soon")
|
||||
|
||||
# process missing (not listed) supportinfos
|
||||
if release_missing:
|
||||
|
Loading…
Reference in New Issue
Block a user