From 42542cb523b7688bd4e05e2c8a4a0f03e80763da Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Mon, 6 Nov 2017 06:31:30 +0100 Subject: Refer to kconfiglib.py for iterative tree walking Turns out to be kinda awkward to implement print_tree.py iteratively, because the indent. --- examples/allyesconfig.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'examples/allyesconfig.py') 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 -- cgit v1.2.3