summaryrefslogtreecommitdiffstats
path: root/test/Scanner/Scanner.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/Scanner/Scanner.py')
-rw-r--r--test/Scanner/Scanner.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Scanner/Scanner.py b/test/Scanner/Scanner.py
index 16f3d19..80eab03 100644
--- a/test/Scanner/Scanner.py
+++ b/test/Scanner/Scanner.py
@@ -65,7 +65,7 @@ import re
include_re = re.compile(r'^include\s+(\S+)$', re.M)
def kfile_scan(node, env, scanpaths, arg):
- contents = node.get_contents()
+ contents = node.get_text_contents()
includes = include_re.findall(contents)
return includes
@@ -117,7 +117,7 @@ import string
def blork(env, target, source):
open(str(target[0]), 'wb').write(
- string.replace(source[0].get_contents(), 'getfile', 'MISSEDME'))
+ string.replace(source[0].get_text_contents(), 'getfile', 'MISSEDME'))
kbld = Builder(action=r'%(_python_)s build.py $SOURCES $TARGET',
src_suffix='.lork',