summaryrefslogtreecommitdiff
path: root/kconfiglib.py
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2015-06-08 13:14:35 +0200
committerUlf Magnusson <ulfalizer@gmail.com>2015-06-08 13:14:35 +0200
commit642188aeeecd2801606f904b12a75326bb958b37 (patch)
treeed226a9c7392a38887df04f2a10788ee10d2895c /kconfiglib.py
parentde3317f2dda4f4fc472eb03ce0c300cc62b55e19 (diff)
Replace old-style raise syntax.
Diffstat (limited to 'kconfiglib.py')
-rw-r--r--kconfiglib.py4
1 files 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.")