summaryrefslogtreecommitdiffstats
path: root/test/Scanner
diff options
context:
space:
mode:
Diffstat (limited to 'test/Scanner')
-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 1e22931..5af7ac3 100644
--- a/test/Scanner/exception.py
+++ b/test/Scanner/exception.py
@@ -47,7 +47,7 @@ def kfile_scan(node, env, target, arg):
contents = node.get_text_contents()
exceptions = exception_re.findall(contents)
if exceptions:
- raise Exception, "kfile_scan error: %s" % exceptions[0]
+ raise Exception("kfile_scan error: %s" % exceptions[0])
includes = include_re.findall(contents)
return includes