From 91923097de4b65025decb75091bd2cd14fa96d40 Mon Sep 17 00:00:00 2001 From: matejcik Date: Thu, 29 Nov 2018 15:53:22 +0100 Subject: [PATCH] support: change handling of "soon" coins "soon" coins that are not tokens will not be included in build --- tools/cointool.py | 5 ++++- tools/support.py | 3 +-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/tools/cointool.py b/tools/cointool.py index d3c0daf10..28702a59a 100755 --- a/tools/cointool.py +++ b/tools/cointool.py @@ -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 diff --git a/tools/support.py b/tools/support.py index 5b35db0fd..593387eb5 100755 --- a/tools/support.py +++ b/tools/support.py @@ -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: