summaryrefslogtreecommitdiffstats
path: root/test/option
diff options
context:
space:
mode:
authorDirk Baechle <dl9obn@darc.de>2015-08-06 21:50:31 (GMT)
committerDirk Baechle <dl9obn@darc.de>2015-08-06 21:50:31 (GMT)
commitd152e4ce442ae724084c9304c9e36e882fa5850d (patch)
tree4a4d0d6b99d47221bcab4166c90adbf041de07e1 /test/option
parentf1dbc3edd79cfbc80e469377bf8d45624cc04d40 (diff)
downloadSCons-d152e4ce442ae724084c9304c9e36e882fa5850d.zip
SCons-d152e4ce442ae724084c9304c9e36e882fa5850d.tar.gz
SCons-d152e4ce442ae724084c9304c9e36e882fa5850d.tar.bz2
- 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 375208d..dbb2615 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()