summaryrefslogtreecommitdiffstats
path: root/test/VariantDir/VariantDir.py
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2017-03-19 23:34:29 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2017-03-19 23:34:29 (GMT)
commitaa0997f21bfe2d338601fe14108fb24b3655b9b1 (patch)
tree236ffba818a682af3356210471bb5b9aa3b80ec0 /test/VariantDir/VariantDir.py
parent5bbd875bfc5b47f0df7af5378ccb0978eddaddee (diff)
downloadSCons-aa0997f21bfe2d338601fe14108fb24b3655b9b1.zip
SCons-aa0997f21bfe2d338601fe14108fb24b3655b9b1.tar.gz
SCons-aa0997f21bfe2d338601fe14108fb24b3655b9b1.tar.bz2
change test to use get_text_contents py2/3
Diffstat (limited to 'test/VariantDir/VariantDir.py')
-rw-r--r--test/VariantDir/VariantDir.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/VariantDir/VariantDir.py b/test/VariantDir/VariantDir.py
index 1b620bb..d212b0d 100644
--- a/test/VariantDir/VariantDir.py
+++ b/test/VariantDir/VariantDir.py
@@ -379,7 +379,7 @@ import sys
headers = ['existing.h', 'non_existing.h']
for header in headers:
h = File( header )
- contents = h.get_contents()
+ contents = h.get_text_contents()
sys.stderr.write( '%s:%s\\n' % (header, contents))
""")