diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2015-06-13 19:52:22 +0200 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2015-06-13 19:52:22 +0200 |
| commit | c3fbf278eb1a6c25b1c1e26963042811a370fed9 (patch) | |
| tree | 7538d38ae086c43dda5a1026a898072461037971 /kconfiglib.py | |
| parent | 376abae717278ae6b7d75f481369dc58dfa2c61d (diff) | |
Peek into more Choice internals in _parse_block().
The parsing routines know it all re. item representations.
Diffstat (limited to 'kconfiglib.py')
| -rw-r--r-- | kconfiglib.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kconfiglib.py b/kconfiglib.py index 4efb08b..c07f3b9 100644 --- a/kconfiglib.py +++ b/kconfiglib.py @@ -1054,13 +1054,13 @@ class Config(object): # If no type is set for the choice, its type is that of the # first choice item if choice.type == UNKNOWN: - for item in choice.get_symbols(): + for item in choice.actual_symbols: if item.type != UNKNOWN: choice.type = item.type break # Each choice item of UNKNOWN type gets the type of the choice - for item in choice.get_symbols(): + for item in choice.actual_symbols: if item.type == UNKNOWN: item.type = choice.type |
