From c3fbf278eb1a6c25b1c1e26963042811a370fed9 Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Sat, 13 Jun 2015 19:52:22 +0200 Subject: Peek into more Choice internals in _parse_block(). The parsing routines know it all re. item representations. --- kconfiglib.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kconfiglib.py') 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 -- cgit v1.2.3