summaryrefslogtreecommitdiff
path: root/menuconfig.py
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2018-05-18 10:21:05 +0200
committerUlf Magnusson <ulfalizer@gmail.com>2018-05-18 10:21:05 +0200
commit754ca0f865c2484ff6bf14d9db1c321c0a677273 (patch)
tree664c774ac55f6a9a4df0d0204f8195f176bfd3da /menuconfig.py
parent7ca22319a8eda3a9b252b7a7267bfb9c1dd14e25 (diff)
menuconfig: Remove redundant information for menus and comments
The Kconfig definition already lists the location and menu path, and now shows up at the top.
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 5e01a44..fd9a136 100755
--- a/menuconfig.py
+++ b/menuconfig.py
@@ -1848,9 +1848,7 @@ def _info_str(node):
)
# node.item in (MENU, COMMENT)
- return "Defined at {}:{}\nMenu: {}\n\n{}" \
- .format(node.filename, node.linenr, _menu_path_info(node),
- _kconfig_def_info(node))
+ return _kconfig_def_info(node)
def _prompt_info(sc):
# Returns a string listing the prompts of 'sc' (Symbol or Choice)