diff options
author | Steven Knight <knight@baldmt.com> | 2008-12-12 06:16:31 +0000 |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2008-12-12 06:16:31 +0000 |
commit | bd7015b46c7cf6ffb0522ce7d20a6d8559b75155 (patch) | |
tree | f468f63915d4ba1b0ea3cc2d064d5ce922cfe6e4 /test/explain | |
parent | ad39c4a4612cd5f3f920c0cc44ffb2b2d4160a8a (diff) | |
download | scons-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.py | 2 | ||||
-rw-r--r-- | test/explain/save-info.py | 2 |
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 |