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 5d10fd7..31e571d 100644
--- a/test/Scanner/exception.py
+++ b/test/Scanner/exception.py
@@ -46,7 +46,7 @@ include_re = re.compile(r'^include\s+(\S+)$', re.M)
exception_re = re.compile(r'^exception\s+(.+)$', re.M)
def kfile_scan(node, env, target, arg):
- contents = node.get_contents()
+ contents = node.get_text_contents()
exceptions = exception_re.findall(contents)
if exceptions:
raise Exception, "kfile_scan error: %s" % exceptions[0]