From edffd52295541c8908810a7c5dd5cdc3fe4d6f9a Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Fri, 23 Feb 2018 06:52:31 +0100 Subject: menuconfig.py: Remove unused STR_TO_TRI import Piggyback a small note to clarify that symbols defined without a type are pretty obscure. --- examples/menuconfig.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'examples') diff --git a/examples/menuconfig.py b/examples/menuconfig.py index 753ac40..c4f0057 100644 --- a/examples/menuconfig.py +++ b/examples/menuconfig.py @@ -121,7 +121,7 @@ from kconfiglib import Kconfig, \ Symbol, Choice, MENU, COMMENT, \ BOOL, TRISTATE, STRING, INT, HEX, UNKNOWN, \ expr_value, \ - TRI_TO_STR, STR_TO_TRI + TRI_TO_STR import readline import sys @@ -203,7 +203,8 @@ def node_str(node): sc = node.item if sc.type == UNKNOWN: - # Skip symbols defined without a type + # Skip symbols defined without a type (these are obscure and generate + # a warning) return "" # {:3} sets the field width to three. Gives nice alignment for empty string -- cgit v1.2.3