From 256e5b3e38e928df0c66cec6f76cbc9f2cd3f46a Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Wed, 10 Oct 2018 15:10:32 +0200 Subject: menuconfig: Comment formatting nits --- menuconfig.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/menuconfig.py b/menuconfig.py index d5cac8f..b3b240c 100755 --- a/menuconfig.py +++ b/menuconfig.py @@ -1192,7 +1192,7 @@ def _draw_main(): while menu is not _kconf.top_node: # Promptless choices can be entered in show-all mode. Use # standard_sc_expr_str() for them, so they show up as - # . + # ''. menu_prompts.append(menu.prompt[0] if menu.prompt else standard_sc_expr_str(menu.item)) menu = _parent_menu(menu) @@ -2495,7 +2495,7 @@ def _menu_path_info(node): while node is not _kconf.top_node: # Promptless choices might appear among the parents. Use # standard_sc_expr_str() for them, so that they show up as - # . + # ''. path = " -> " + (node.prompt[0] if node.prompt else standard_sc_expr_str(node.item)) + path node = _parent_menu(node) @@ -2658,7 +2658,7 @@ def _node_str(node): s += " <{}>".format(node.item.name) else: # For choices, use standard_sc_expr_str(). That way they show up as - # . + # ''. s += " " + standard_sc_expr_str(node.item) if node.prompt: -- cgit v1.2.3