summaryrefslogtreecommitdiff
path: root/examples/help_grep.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/help_grep.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/help_grep.py')
-rw-r--r--examples/help_grep.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/help_grep.py b/examples/help_grep.py
index f05c66f..eeeddfa 100644
--- a/examples/help_grep.py
+++ b/examples/help_grep.py
@@ -33,10 +33,12 @@
# ...
-from kconfiglib import Kconfig, Symbol, Choice, MENU, COMMENT
import re
import sys
+from kconfiglib import Kconfig, Symbol, Choice, MENU, COMMENT
+
+
if len(sys.argv) < 3:
sys.exit("Pass the regex with SCRIPT_ARG=<regex>")