diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2017-11-09 19:17:55 +0100 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2017-11-09 19:36:58 +0100 |
| commit | 3832555f3ffa40ec4f7157a95e4c333d83621b39 (patch) | |
| tree | 7ff1c0fc465d2f8859abb3fe3bb7bf272cf0a931 | |
| parent | 728109bf2915c679cfdc978811e4b233ebab281f (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.py | 2 |
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): |
