From 2195b37eb99f630a69e376d073cd58d3904b6420 Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Sat, 24 Mar 2018 18:54:02 +0100 Subject: _check_choice_sanity() style nit --- kconfiglib.py | 14 +++++++------- 1 file 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 -- cgit v1.2.3