summaryrefslogtreecommitdiffstats
path: root/test/Scanner/FindPathDirs.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/Scanner/FindPathDirs.py')
-rw-r--r--test/Scanner/FindPathDirs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Scanner/FindPathDirs.py b/test/Scanner/FindPathDirs.py
index 901d757..bb8f929 100644
--- a/test/Scanner/FindPathDirs.py
+++ b/test/Scanner/FindPathDirs.py
@@ -79,7 +79,7 @@ import re
include_re = re.compile(r'^include\s+(\S+)$', re.M)
def kfile_scan(node, env, path, arg):
- contents = node.get_contents()
+ contents = node.get_text_contents()
includes = include_re.findall(contents)
if includes == []:
return []