summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2017-11-06 06:31:30 +0100
committerUlf Magnusson <ulfalizer@gmail.com>2017-11-06 06:31:30 +0100
commit42542cb523b7688bd4e05e2c8a4a0f03e80763da (patch)
tree9d68b3dd30dcb7999095ec25cfaf43c211f5f90d
parent0769281513fe2c8448e74a732358c0cd856e5d3e (diff)
Refer to kconfiglib.py for iterative tree walking
Turns out to be kinda awkward to implement print_tree.py iteratively, because the indent.
-rw-r--r--examples/allyesconfig.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/allyesconfig.py b/examples/allyesconfig.py
index a515196..1bac713 100644
--- a/examples/allyesconfig.py
+++ b/examples/allyesconfig.py
@@ -34,9 +34,9 @@ import sys
def all_choices(node):
"""
- Returns all choices in the menu tree rooted at 'node'. See
- print_tree_iter.py for an example of how the menu tree can be walked
- iteratively.
+ Returns all choices in the menu tree rooted at 'node'. See the
+ Kconfig.write_config() implementation in kconfiglib.py for an example of
+ how the tree can be walked iteratively instead.
(I was thinking of making a list of choices available directly in the API,
but I'm not sure it will always be needed internally, and I'm trying to