diff options
Diffstat (limited to 'test/RCS/diskcheck.py')
-rw-r--r-- | test/RCS/diskcheck.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/RCS/diskcheck.py b/test/RCS/diskcheck.py index 264822a..4e7dd24 100644 --- a/test/RCS/diskcheck.py +++ b/test/RCS/diskcheck.py @@ -95,10 +95,9 @@ ENV = {'PATH' : os.environ['PATH'], 'LOGNAME' : logname} def cat(env, source, target): target = str(target[0]) - source = map(str, source) f = open(target, "wb") for src in source: - f.write(open(src, "rb").read()) + f.write(open(str(src), "rb").read()) f.close() SetOption('diskcheck', None) DefaultEnvironment()['ENV'] = ENV @@ -116,7 +115,7 @@ test.write('bbb.in', "checked-out bbb.in\n") test.write(['sub', 'eee.in'], "checked-out sub/eee.in\n") sub_SConscript = os.path.join('sub', 'SConscript') -SConstruct_file_line = test.python_file_line(test.workpath('SConstruct'), 23)[:-1] +SConstruct_file_line = test.python_file_line(test.workpath('SConstruct'), 22)[:-1] expect = """\ |