summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/menuconfig.py5
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