From 7bbd12d306bba4d7fd47905cf2d0b4e3f7bdabbd Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Thu, 27 Sep 2018 19:53:06 +0200 Subject: Use a consistent import style in the examples Do the PEP 8 ordering thingy with standard library imports first. --- examples/print_config_tree.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'examples/print_config_tree.py') 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 -- cgit v1.2.3