From fcc908f1823891c8e64a3eaa29de403882836ffb Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Thu, 14 Jun 2018 20:05:58 +0200 Subject: Remove redundant str() .format() will implicitly format the exception as a string. --- kconfiglib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kconfiglib.py b/kconfiglib.py index 1392a96..0deed4a 100644 --- a/kconfiglib.py +++ b/kconfiglib.py @@ -1483,7 +1483,7 @@ class Kconfig(object): "likely to soon appear in the C tools as well, and simplifies " "the parsing implementation (symbols no longer need to be " "evaluated during parsing)." - .format(self._filename, self._linenr, str(e)), + .format(self._filename, self._linenr, e), 80)) self._filename = filename -- cgit v1.2.3