diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2019-12-14 18:18:46 +0100 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2019-12-14 18:18:46 +0100 |
| commit | 2122d5d5891a9a93cc38aa8e21cedf7942ae2ae2 (patch) | |
| tree | f7abc0f163ee7fb9ff05037410d6f5ead2d51c5e | |
| parent | 1ec91703ecdb4c369212fabe2ca0a68f040b7697 (diff) | |
Include "error: " in parsing error messages
Oversight. Makes them easier to find in logs.
| -rw-r--r-- | kconfiglib.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kconfiglib.py b/kconfiglib.py index d152b76..f61d524 100644 --- a/kconfiglib.py +++ b/kconfiglib.py @@ -3863,7 +3863,7 @@ class Kconfig(object): .format(sym.name_and_loc)) def _parse_error(self, msg): - raise KconfigError("{}couldn't parse '{}': {}".format( + raise KconfigError("{}error: couldn't parse '{}': {}".format( "" if self.filename is None else "{}:{}: ".format(self.filename, self.linenr), self._line.strip(), msg)) |
