summaryrefslogtreecommitdiff
path: root/test/explain
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2008-12-12 06:16:31 +0000
committerSteven Knight <knight@baldmt.com>2008-12-12 06:16:31 +0000
commitbd7015b46c7cf6ffb0522ce7d20a6d8559b75155 (patch)
treef468f63915d4ba1b0ea3cc2d064d5ce922cfe6e4 /test/explain
parentad39c4a4612cd5f3f920c0cc44ffb2b2d4160a8a (diff)
downloadscons-bd7015b46c7cf6ffb0522ce7d20a6d8559b75155.tar.gz
Issue 2255: Handle scanning of UTF-8 and UTF-16 files. (Greg Spencer)
Diffstat (limited to 'test/explain')
-rw-r--r--test/explain/basic.py2
-rw-r--r--test/explain/save-info.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/explain/basic.py b/test/explain/basic.py
index e1198d5a..b30e6043 100644
--- a/test/explain/basic.py
+++ b/test/explain/basic.py
@@ -83,7 +83,7 @@ import re
include_re = re.compile(r'^include\s+(\S+)$', re.M)
def kfile_scan(node, env, target, arg):
- contents = node.get_contents()
+ contents = node.get_text_contents()
includes = include_re.findall(contents)
return includes
diff --git a/test/explain/save-info.py b/test/explain/save-info.py
index 0d8f5c79..b72b3fb8 100644
--- a/test/explain/save-info.py
+++ b/test/explain/save-info.py
@@ -75,7 +75,7 @@ import re
include_re = re.compile(r'^include\s+(\S+)$', re.M)
def kfile_scan(node, env, target, arg):
- contents = node.get_contents()
+ contents = node.get_text_contents()
includes = include_re.findall(contents)
return includes