1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-22 22:38:08 +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:
matejcik 2018-11-29 15:53:22 +01:00
parent 7eb479c4f3
commit 91923097de
2 changed files with 5 additions and 3 deletions

View File

@ -111,7 +111,10 @@ def ascii_filter(s):
def make_support_filter(support_info): def make_support_filter(support_info):
def supported_on(device, coins): def supported_on(device, coins):
for coin in 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 yield coin
return supported_on return supported_on

View File

@ -401,8 +401,7 @@ def release(
] ]
for coin in soon_list: for coin in soon_list:
key = coin["key"] key = coin["key"]
print(f"Releasing {key} ({coin['name']}) marked 'soon'") maybe_add(coin, "soon")
set_supported(device, key, version)
# process missing (not listed) supportinfos # process missing (not listed) supportinfos
if release_missing: if release_missing: