summaryrefslogtreecommitdiff
path: root/examples/print_config_tree.py
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2018-09-27 19:53:06 +0200
committerUlf Magnusson <ulfalizer@gmail.com>2018-09-27 19:54:45 +0200
commit7bbd12d306bba4d7fd47905cf2d0b4e3f7bdabbd (patch)
treed0aad3d1d3cf99aaf799b40fd3fdce8f3112067e /examples/print_config_tree.py
parentd0ebcc592c74995957f3b7f46408fb3a528142f4 (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_config_tree.py')
-rw-r--r--examples/print_config_tree.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/print_config_tree.py b/examples/print_config_tree.py
index 6bd02ab..8356dcb 100644
--- a/examples/print_config_tree.py
+++ b/examples/print_config_tree.py
@@ -51,12 +51,14 @@
# [ ] Compile also drivers which will not load - Some drivers can be compiled on a different platform than they are intended to be run on. Despite they cannot be loaded there (or even when they load they cannot be used due to missing HW support), developers still, opposing to distributors, might want to build such drivers to compile-test them. If you are a developer and want to build everything available, say Y here. If you are a user/distributor, say N here to exclude useless drivers to be distributed. (COMPILE_TEST)
# ...
+import sys
+
from kconfiglib import Kconfig, \
Symbol, Choice, MENU, COMMENT, \
BOOL, TRISTATE, STRING, INT, HEX, UNKNOWN, \
expr_value, \
TRI_TO_STR
-import sys
+
# Add help description to output
WITH_HELP_DESC = False