summaryrefslogtreecommitdiffstats
path: root/test/Scanner/exception.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/Scanner/exception.py')
-rw-r--r--test/Scanner/exception.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Scanner/exception.py b/test/Scanner/exception.py
index 7615888..d8204db 100644
--- a/test/Scanner/exception.py
+++ b/test/Scanner/exception.py
@@ -49,7 +49,7 @@ def kfile_scan(node, env, target, arg):
contents = node.get_contents()
exceptions = exception_re.findall(contents)
if exceptions:
- raise "kfile_scan error: %s" % exceptions[0]
+ raise Exception, "kfile_scan error: %s" % exceptions[0]
includes = include_re.findall(contents)
return includes