summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kconfiglib.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/kconfiglib.py b/kconfiglib.py
index a679eaa..a1e3038 100644
--- a/kconfiglib.py
+++ b/kconfiglib.py
@@ -4762,8 +4762,8 @@ def _check_sym_sanity(sym):
# the quotes were left out if 'foo' isn't all-uppercase
# (and no symbol named 'foo' exists).
sym.kconfig._warn("style: quotes recommended around "
- "default value for string symbol {}"
- .format(_name_and_loc(sym)))
+ "default value for string symbol "
+ + _name_and_loc(sym))
elif sym.orig_type in (INT, HEX) and \
not _int_hex_ok(default, sym.orig_type):