diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2017-11-06 04:18:21 +0100 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2017-11-06 04:18:21 +0100 |
| commit | c65d0615d1688580fb340b072749622853cccb36 (patch) | |
| tree | db6ca07ecd43d894ebdba8e4325345a65314f641 /kconfiglib.py | |
| parent | b3483b7d488f07823be29bfa5fb131e7b5b9d021 (diff) | |
Use 'sym' instead of 'item' in choice-related loop
Only symbols appear in choice.syms. Clearer.
Diffstat (limited to 'kconfiglib.py')
| -rw-r--r-- | kconfiglib.py | 6 |
1 files 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): """ |
