summaryrefslogtreecommitdiff
path: root/test/option
diff options
context:
space:
mode:
authorDirk Baechle <dl9obn@darc.de>2015-08-06 23:50:31 +0200
committerDirk Baechle <dl9obn@darc.de>2015-08-06 23:50:31 +0200
commit13347dff82754e520e42a22669bb8b7cd8cd6b2a (patch)
tree4a4d0d6b99d47221bcab4166c90adbf041de07e1 /test/option
parent6e8fbb1b6111941690fcf531fdda2f5c888f9bc0 (diff)
downloadscons-13347dff82754e520e42a22669bb8b7cd8cd6b2a.tar.gz
- fixed several tests and tools that still used Node attributes directly
(found by disabling the __getattr__ in Node/FS.py)
Diffstat (limited to 'test/option')
-rw-r--r--test/option/md5-chunksize.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/option/md5-chunksize.py b/test/option/md5-chunksize.py
index 375208d9..dbb26155 100644
--- a/test/option/md5-chunksize.py
+++ b/test/option/md5-chunksize.py
@@ -104,8 +104,8 @@ get_stat(["test.stat"], ["test.big"])
test2.write('SConstruct', """
import os
def get_stat(target, source, env):
- stat = os.stat(source[0].abspath)
- dest = open(target[0].abspath,'w')
+ stat = os.stat(source[0].get_abspath())
+ dest = open(target[0].get_abspath(),'w')
dest.write(str(stat))
dest.close()
env = Environment()