From 642188aeeecd2801606f904b12a75326bb958b37 Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Mon, 8 Jun 2015 13:14:35 +0200 Subject: Replace old-style raise syntax. --- kconfiglib.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kconfiglib.py b/kconfiglib.py index 3757c44..12c9bc6 100644 --- a/kconfiglib.py +++ b/kconfiglib.py @@ -3557,7 +3557,7 @@ def _parse_error(s, msg, filename, linenr): "." if msg is None else ": " + msg)) def _internal_error(msg): - raise Internal_Error, msg + \ + 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." + "and the stack trace and describe what you were doing.") -- cgit v1.2.3