diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2018-02-23 06:52:31 +0100 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2018-02-23 06:54:44 +0100 |
| commit | edffd52295541c8908810a7c5dd5cdc3fe4d6f9a (patch) | |
| tree | c1cc903b8e3ae1163c30ecab9a4ff074a8dfa8aa /examples | |
| parent | ce43e322b57c9c62999d8941f677e5ba2f455047 (diff) | |
menuconfig.py: Remove unused STR_TO_TRI import
Piggyback a small note to clarify that symbols defined without a type
are pretty obscure.
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/menuconfig.py | 5 |
1 files changed, 3 insertions, 2 deletions
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 |
