diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2018-09-27 19:53:06 +0200 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2018-09-27 19:54:45 +0200 |
| commit | 7bbd12d306bba4d7fd47905cf2d0b4e3f7bdabbd (patch) | |
| tree | d0aad3d1d3cf99aaf799b40fd3fdce8f3112067e /examples/print_tree.py | |
| parent | d0ebcc592c74995957f3b7f46408fb3a528142f4 (diff) | |
Use a consistent import style in the examples
Do the PEP 8 ordering thingy with standard library imports first.
Diffstat (limited to 'examples/print_tree.py')
| -rw-r--r-- | examples/print_tree.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/print_tree.py b/examples/print_tree.py index 5155cf0..cd23f68 100644 --- a/examples/print_tree.py +++ b/examples/print_tree.py @@ -41,9 +41,11 @@ # config GENERIC_IRQ_PROBE # ... -from kconfiglib import Kconfig, Symbol, Choice, MENU, COMMENT import sys +from kconfiglib import Kconfig, Symbol, Choice, MENU, COMMENT + + def indent_print(s, indent): print(" "*indent + s) |
