diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2015-06-14 21:11:09 +0200 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2015-06-14 21:11:09 +0200 |
| commit | ba26bf346ebe83d4434b3d2e91962fefeab720ec (patch) | |
| tree | 662fbc5ff4ab1a11378d1f957ef22fc83f768596 | |
| parent | 903f2673eaf3199e13f24780e671b555e05b5c86 (diff) | |
Access Choice.actual_symbols directly internally.
Other internal details are already needed/used in those spots.
| -rw-r--r-- | kconfiglib.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kconfiglib.py b/kconfiglib.py index 7466be5..1e4d973 100644 --- a/kconfiglib.py +++ b/kconfiglib.py @@ -1699,7 +1699,7 @@ class Config(object): defaults_str = "\n".join(defaults_str_rows) # Build contained symbols string - names = [sym.name for sym in sc.get_symbols()] + names = [sym.name for sym in sc.actual_symbols] syms_string = " ".join(names) if names else "(empty)" return _lines("Choice", @@ -2505,7 +2505,7 @@ class Symbol(Item): self._add_dependent_ignore_siblings(res) if self.is_choice_symbol_: - for s in self.parent.get_symbols(): + for s in self.parent.actual_symbols: if s is not self: res.add(s) s._add_dependent_ignore_siblings(res) |
