diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2018-06-14 20:05:58 +0200 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2018-06-14 20:05:58 +0200 |
| commit | fcc908f1823891c8e64a3eaa29de403882836ffb (patch) | |
| tree | 2fc66398bde97ca8fd0ca60c83d0338249a6f4f9 /kconfiglib.py | |
| parent | 5b54529a40c1b8f628baa7ea4f8399e1213e283f (diff) | |
Remove redundant str()
.format() will implicitly format the exception as a string.
Diffstat (limited to 'kconfiglib.py')
| -rw-r--r-- | kconfiglib.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
