summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2015-06-05 05:20:19 +0200
committerUlf Magnusson <ulfalizer@gmail.com>2015-06-05 05:20:19 +0200
commit855cf2d364b1dd0cc13593c52d33b0e1235fc9ea (patch)
treebfc17ca456336d44e3e7a0e677fb94c555197f97
parent1b0ccf3fdc5d2d761379bae51e47fa3f08adf564 (diff)
_internal_error() nit.
-rw-r--r--kconfiglib.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/kconfiglib.py b/kconfiglib.py
index 0bb4d59..392148c 100644
--- a/kconfiglib.py
+++ b/kconfiglib.py
@@ -3732,8 +3732,8 @@ def _parse_error(s, msg, filename, linenr):
"." if msg is None else ": " + msg)
def _internal_error(msg):
- msg += "\nSorry! You may want to send an email to ulfalizer a.t Google's " \
- "email service to tell me about this. Include the message above " \
- "and the stack trace and describe what you were doing."
+ raise Internal_Error, msg + \
+ "\nSorry! You may want to send an email to ulfalizer a.t Google's " \
+ "email service to tell me about this. Include the message above " \
+ "and the stack trace and describe what you were doing."
- raise Internal_Error, msg