From 6fe5198f0455b7452b8835264db082ef4cac0730 Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Tue, 2 Oct 2018 00:09:25 +0200 Subject: menuconfig: Mark quit_dialog() as internal Oversight. The _ hides it from e.g. pydoc. --- menuconfig.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/menuconfig.py b/menuconfig.py index 227e8b0..5a4b2b1 100755 --- a/menuconfig.py +++ b/menuconfig.py @@ -785,7 +785,7 @@ def _menuconfig(stdscr): "h", "H"): if c == "\x1B" and _cur_menu is _kconf.top_node: - res = quit_dialog() + res = _quit_dialog() if res: return res else: @@ -836,11 +836,11 @@ def _menuconfig(stdscr): _show_name = not _show_name elif c in ("q", "Q"): - res = quit_dialog() + res = _quit_dialog() if res: return res -def quit_dialog(): +def _quit_dialog(): if not _conf_changed: return "No changes to save" -- cgit v1.2.3