From f95ac89944bdca833c5398967c274ab520c2ce7b Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Wed, 28 Nov 2018 15:04:18 +0100 Subject: menuconfig: Fix variable name typo in comment --- menuconfig.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'menuconfig.py') diff --git a/menuconfig.py b/menuconfig.py index ecaf53a..d4d844e 100755 --- a/menuconfig.py +++ b/menuconfig.py @@ -1431,8 +1431,8 @@ def _shown_nodes(menu): res = [] for choice_node in menu.item.nodes: for node in rec(choice_node.list): - # 'node is menu' checks if we're dealing with the current - # location + # 'choice_node is menu' checks if we're dealing with the + # current location if node.item not in seen_syms or choice_node is menu: res.append(node) if isinstance(node.item, Symbol): -- cgit v1.2.3