diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2018-08-21 13:02:13 +0200 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2018-08-21 14:26:37 +0200 |
| commit | db6cb68b74bc3a9f88f802a0f32613f95df7b854 (patch) | |
| tree | 4db5b8aee766066d34fcd54ee5db29da7ae41e7c /tests/Kdeploop3 | |
| parent | 6d3b5e7dfc1d564727f9009d3bec83d54eb090ee (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/Kdeploop3')
0 files changed, 0 insertions, 0 deletions
