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/merge_config.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'examples/merge_config.py') diff --git a/examples/merge_config.py b/examples/merge_config.py index f3fa471..bcc627b 100644 --- a/examples/merge_config.py +++ b/examples/merge_config.py @@ -59,9 +59,12 @@ # # CONFIG_FOO is not set # CONFIG_BAR=y # CONFIG_BAZ="baz string" -from kconfiglib import Kconfig, Symbol, BOOL, TRISTATE, TRI_TO_STR + import sys +from kconfiglib import Kconfig, Symbol, BOOL, TRISTATE, TRI_TO_STR + + if len(sys.argv) < 4: sys.exit("usage: merge_config.py Kconfig merged_config config1 [config2 ...]") -- cgit v1.2.3