if parent.is_menu():
parents.append(parent.get_title())
elif enable_choice and parent.is_choice():
- parents.append(parent.prompts[0][0])
+ parents.append(parent.get_prompts()[0])
parent = parent.get_parent()
if isinstance(root, kconfiglib.Menu) or \
(enable_choice and isinstance(root, kconfiglib.Choice)):
"""
if not symbol.is_symbol():
return False
- if type == 'real' and not symbol.prompts:
+ if type == 'real' and not symbol.get_prompts():
return False
- if type == 'virtual' and symbol.prompts:
+ if type == 'virtual' and symbol.get_prompts():
return False
if not self.re_pkg_prefix.match(symbol.get_name()):
return False
:param mark_deprecated: Append a 'deprecated' to the label
"""
- label = symbol.prompts[0][0]
+ label = symbol.get_prompts()[0]
if self._is_deprecated(symbol) and mark_deprecated:
label += " *(deprecated)*"
return label
continue
for s in selects:
if s == symbol:
- if sym.prompts:
+ if sym.get_prompts():
l = self._get_symbol_label(sym,False)
parent_pkg = _get_parent_package(sym)
if parent_pkg is not None: