From 0327db2e642800a1608b006cd6c569f7bca0ff5c Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Tue, 12 Jun 2018 01:58:41 +0200 Subject: Simplify allnoconfig.py and allyesconfig.py We can rely on set_value() being a no-op when setting non-bool/tristate symbols to 0/1/2 (due to those values being invalid for other types). Remove some long duplicated comments too. --- allmodconfig.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'allmodconfig.py') diff --git a/allmodconfig.py b/allmodconfig.py index 35caa9c..b8f792a 100755 --- a/allmodconfig.py +++ b/allmodconfig.py @@ -18,8 +18,7 @@ import kconfiglib def main(): kconf = kconfiglib.standard_kconfig() - # Avoid warnings printed by Kconfiglib when assigning a value to a symbol that - # has no prompt. Such assignments never have an effect. + # See allnoconfig.py kconf.disable_warnings() # Small optimizations -- cgit v1.2.3