summaryrefslogtreecommitdiff
path: root/tests/Kdeploop9
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2018-08-21 13:02:13 +0200
committerUlf Magnusson <ulfalizer@gmail.com>2018-08-21 14:26:37 +0200
commitdb6cb68b74bc3a9f88f802a0f32613f95df7b854 (patch)
tree4db5b8aee766066d34fcd54ee5db29da7ae41e7c /tests/Kdeploop9
parent6d3b5e7dfc1d564727f9009d3bec83d54eb090ee (diff)
Refactor write_config() a bit
Since the 'top_node' menu node itself is skipped, we can start from there and move the tree walk to the beginning of the loop. For an empty configuration (top_node.list set to None) the tree walk immediately discovers that there are no more nodes and returns.
Diffstat (limited to 'tests/Kdeploop9')
0 files changed, 0 insertions, 0 deletions