diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2018-09-27 19:53:06 +0200 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2018-09-27 19:54:45 +0200 |
| commit | 7bbd12d306bba4d7fd47905cf2d0b4e3f7bdabbd (patch) | |
| tree | d0aad3d1d3cf99aaf799b40fd3fdce8f3112067e /examples/eval_expr.py | |
| parent | d0ebcc592c74995957f3b7f46408fb3a528142f4 (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.py | 4 |
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>") |
