summaryrefslogtreecommitdiff
path: root/examples/merge_config.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/merge_config.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/merge_config.py')
-rw-r--r--examples/merge_config.py5
1 files changed, 4 insertions, 1 deletions
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 ...]")