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/print_sym_info.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/print_sym_info.py')
| -rw-r--r-- | examples/print_sym_info.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/print_sym_info.py b/examples/print_sym_info.py index c0c63df..d36e7b0 100644 --- a/examples/print_sym_info.py +++ b/examples/print_sym_info.py @@ -33,9 +33,11 @@ # currently assignable values: n, y # defined at init/Kconfig:1674 -from kconfiglib import Kconfig, TRI_TO_STR import sys +from kconfiglib import Kconfig, TRI_TO_STR + + if len(sys.argv) < 3: sys.exit('Pass symbol name (without "CONFIG_" prefix) with SCRIPT_ARG=<name>') |
