summaryrefslogtreecommitdiff
path: root/menuconfig.py
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2019-03-20 17:56:19 +0100
committerUlf Magnusson <ulfalizer@gmail.com>2019-03-20 17:56:44 +0100
commit9eda760c3dda5dd4ee48d448cc6aae5cd431284b (patch)
tree0ae64c1702a296f4952bbdb7c98dcff60bbdb0b4 /menuconfig.py
parent88ecbb7e5a28fc48c424027c9ef826d6d5f5402f (diff)
menuconfig: Style nits
Diffstat (limited to 'menuconfig.py')
-rwxr-xr-xmenuconfig.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/menuconfig.py b/menuconfig.py
index 3098a34..e02af89 100755
--- a/menuconfig.py
+++ b/menuconfig.py
@@ -184,7 +184,6 @@ Limitations
'pip install kconfiglib' on Windows automatically installs windows-curses
to make the menuconfig usable.
"""
-
import curses
import errno
import locale
@@ -1006,7 +1005,7 @@ def _resize_main():
_bot_sep_win.resize(1, screen_width)
help_win_height = _SHOW_HELP_HEIGHT if _show_help else \
- len(_MAIN_HELP_LINES)
+ len(_MAIN_HELP_LINES)
menu_win_height = screen_height - help_win_height - 3
@@ -1274,7 +1273,6 @@ def _toggle_show_all():
# an invisible menu. Don't allow that, as the implementation relies
# on always having a selected node.
_show_all = True
-
return
_shown = new_shown