summaryrefslogtreecommitdiff
path: root/examples/eval_expr.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/eval_expr.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/eval_expr.py')
-rw-r--r--examples/eval_expr.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/eval_expr.py b/examples/eval_expr.py
index 41fc8a2..23eedb4 100644
--- a/examples/eval_expr.py
+++ b/examples/eval_expr.py
@@ -6,9 +6,11 @@
#
# $ make [ARCH=<arch>] scriptconfig SCRIPT=Kconfiglib/examples/eval_expr.py SCRIPT_ARG=<expr>
-import kconfiglib
import sys
+import kconfiglib
+
+
if len(sys.argv) < 3:
sys.exit("Pass the expression to evaluate with SCRIPT_ARG=<expression>")