From c65d0615d1688580fb340b072749622853cccb36 Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Mon, 6 Nov 2017 04:18:21 +0100 Subject: Use 'sym' instead of 'item' in choice-related loop Only symbols appear in choice.syms. Clearer. --- kconfiglib.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kconfiglib.py b/kconfiglib.py index 9c6103f..a9b23ba 100644 --- a/kconfiglib.py +++ b/kconfiglib.py @@ -3888,9 +3888,9 @@ def _finalize_choice(node): break # Each choice item of UNKNOWN type gets the type of the choice - for item in choice.syms: - if item.orig_type == UNKNOWN: - item.orig_type = choice.orig_type + for sym in choice.syms: + if sym.orig_type == UNKNOWN: + sym.orig_type = choice.orig_type def _finalize_tree(node): """ -- cgit v1.2.3