diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2017-11-06 06:31:30 +0100 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2017-11-06 06:31:30 +0100 |
| commit | 42542cb523b7688bd4e05e2c8a4a0f03e80763da (patch) | |
| tree | 9d68b3dd30dcb7999095ec25cfaf43c211f5f90d /examples | |
| parent | 0769281513fe2c8448e74a732358c0cd856e5d3e (diff) | |
Refer to kconfiglib.py for iterative tree walking
Turns out to be kinda awkward to implement print_tree.py iteratively,
because the indent.
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/allyesconfig.py | 6 |
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 |
