summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2017-11-09 19:17:55 +0100
committerUlf Magnusson <ulfalizer@gmail.com>2017-11-09 19:36:58 +0100
commit3832555f3ffa40ec4f7157a95e4c333d83621b39 (patch)
tree7ff1c0fc465d2f8859abb3fe3bb7bf272cf0a931
parent728109bf2915c679cfdc978811e4b233ebab281f (diff)
Reenable accidentally disabled no-prompt warning
Warnings for assignments to promptless symbols should be enabled directly after Kconfig parsing. Braino from inverting the meaning of the flag earlier. The flag got properly reset after loading a .config.
-rw-r--r--kconfiglib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kconfiglib.py b/kconfiglib.py
index fea08d7..1977047 100644
--- a/kconfiglib.py
+++ b/kconfiglib.py
@@ -641,7 +641,7 @@ class Kconfig(object):
# Build Symbol._dependents for all symbols
self._build_dep()
- self._warn_no_prompt = False
+ self._warn_no_prompt = True
@property
def mainmenu_text(self):