1
0
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:
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 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

View File

@ -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: