diff options
author | Steven Knight <knight@baldmt.com> | 2008-12-12 06:16:31 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2008-12-12 06:16:31 (GMT) |
commit | 6554d8631debd788d6bad226d098daee080ca20e (patch) | |
tree | f468f63915d4ba1b0ea3cc2d064d5ce922cfe6e4 /test/Scanner/multi-env.py | |
parent | 8e1e691178fb24207d0e073a8c67bd8810211396 (diff) | |
download | SCons-6554d8631debd788d6bad226d098daee080ca20e.zip SCons-6554d8631debd788d6bad226d098daee080ca20e.tar.gz SCons-6554d8631debd788d6bad226d098daee080ca20e.tar.bz2 |
Issue 2255: Handle scanning of UTF-8 and UTF-16 files. (Greg Spencer)
Diffstat (limited to 'test/Scanner/multi-env.py')
-rw-r--r-- | test/Scanner/multi-env.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Scanner/multi-env.py b/test/Scanner/multi-env.py index 514fbca..c64f970 100644 --- a/test/Scanner/multi-env.py +++ b/test/Scanner/multi-env.py @@ -44,12 +44,12 @@ include_re = re.compile(r'^include\s+(\S+)$', re.M) input_re = re.compile(r'^input\s+(\S+)$', re.M) scan1 = Scanner(name = 'Include', - function = lambda N,E,P,A: A.findall(N.get_contents()), + function = lambda N,E,P,A: A.findall(N.get_text_contents()), argument = include_re, skeys = ['.inp']) scan2 = Scanner(name = 'Input', - function = lambda N,E,P,A: A.findall(N.get_contents()), + function = lambda N,E,P,A: A.findall(N.get_text_contents()), argument = input_re, skeys = ['.inp']) |