diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2018-03-24 18:54:02 +0100 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2018-03-24 18:54:02 +0100 |
| commit | 2195b37eb99f630a69e376d073cd58d3904b6420 (patch) | |
| tree | ded10aac3cff4064e75665626074f383f28a82a5 | |
| parent | f82b052d14fa5171fd1dcac7b0abf5dbf0dd43a0 (diff) | |
_check_choice_sanity() style nit
| -rw-r--r-- | kconfiglib.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kconfiglib.py b/kconfiglib.py index 34d4a1e..c7fa862 100644 --- a/kconfiglib.py +++ b/kconfiglib.py @@ -4654,19 +4654,19 @@ def _check_choice_sanity(choice): for sym in choice.syms: if sym.defaults: - choice.kconfig._warn("default on the choice symbol {} will have " - "no effect".format(_name_and_loc(sym))) + sym.kconfig._warn("default on the choice symbol {} will have " + "no effect".format(_name_and_loc(sym))) for node in sym.nodes: if node.parent.item is choice: if not node.prompt: - choice.kconfig._warn("the choice symbol {} has no prompt" - .format(_name_and_loc(sym))) + sym.kconfig._warn("the choice symbol {} has no prompt" + .format(_name_and_loc(sym))) elif node.prompt: - choice.kconfig._warn("the choice symbol {} is defined with a " - "prompt outside the choice" - .format(_name_and_loc(sym))) + sym.kconfig._warn("the choice symbol {} is defined with a " + "prompt outside the choice" + .format(_name_and_loc(sym))) # # Public global constants |
