From 855cf2d364b1dd0cc13593c52d33b0e1235fc9ea Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Fri, 5 Jun 2015 05:20:19 +0200 Subject: _internal_error() nit. --- kconfiglib.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kconfiglib.py') 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 -- cgit v1.2.3