summaryrefslogtreecommitdiff
path: root/kconfiglib.py
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2012-12-06 05:32:33 +0100
committerUlf Magnusson <ulfalizer@gmail.com>2012-12-06 05:32:33 +0100
commit80723ba6a354fe945e8750a4cb8b11bac7bdef7f (patch)
treef4d9f4658e32c5f130221319836b1fb035c0e17d /kconfiglib.py
parent4e7d3edc8b34dbb2c8673564b7e54e6de03428da (diff)
Fix _internal_error() call.
Diffstat (limited to 'kconfiglib.py')
-rw-r--r--kconfiglib.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/kconfiglib.py b/kconfiglib.py
index da68b7b..7b08375 100644
--- a/kconfiglib.py
+++ b/kconfiglib.py
@@ -1804,9 +1804,8 @@ might be an error, and you should e-mail kconfiglib@gmail.com.
return "y" if (self._get_str_value(expr[1]) !=
self._get_str_value(expr[2])) else "n"
- _internal_error("Internal error while evaluating expression with token stream {0}: "
- "unknown type {0}."
- .format(expr))
+ _internal_error("Internal error while evaluating expression: "
+ "unknown operation {0}.".format(first_expr))
def _eval_to_int(self, expr):
return values[self._eval_expr(expr)]