summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2019-06-24 09:29:10 +0200
committerUlf Magnusson <ulfalizer@gmail.com>2019-06-24 09:29:10 +0200
commita7302a6a03096e1c5839c2a582dd70ddbae2962a (patch)
tree56c7b33678ca2af694c42597770b965e07422f39
parentee4cb6af460bcb9614cef1489721d26be2527772 (diff)
menuconfig/guiconfig: Use orig_defaults in symbol info
Forgot that they show defaults separately. Use orig_defaults instead of 'defaults' to de-spam it a bit. The direct dependencies are shown above the defaults.
-rwxr-xr-xguiconfig.py2
-rwxr-xr-xmenuconfig.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/guiconfig.py b/guiconfig.py
index 7ce3cb1..9f72203 100755
--- a/guiconfig.py
+++ b/guiconfig.py
@@ -2121,7 +2121,7 @@ def _defaults_info(sc):
s = "Defaults:\n"
- for val, cond in sc.defaults:
+ for val, cond in sc.orig_defaults:
s += " - "
if isinstance(sc, Symbol):
s += _expr_str(val)
diff --git a/menuconfig.py b/menuconfig.py
index d334c0f..6afc1c4 100755
--- a/menuconfig.py
+++ b/menuconfig.py
@@ -2641,7 +2641,7 @@ def _defaults_info(sc):
s = "Defaults:\n"
- for val, cond in sc.defaults:
+ for val, cond in sc.orig_defaults:
s += " - "
if isinstance(sc, Symbol):
s += _expr_str(val)