diff options
author | William Deegan <bill@baddogconsulting.com> | 2017-02-27 20:48:09 -0800 |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2017-02-27 20:48:09 -0800 |
commit | 10874015f880147c03970114a6684bb0584b7c79 (patch) | |
tree | 481904fd0b915427d0f821a243fa636c857c1524 /test/Builder | |
parent | 82746f0a53c067ee2f21704234527187c9d17db4 (diff) | |
download | scons-10874015f880147c03970114a6684bb0584b7c79.tar.gz |
fix py2/3 not sure why it was calling string.replace, instead of .replace on the string..?
Diffstat (limited to 'test/Builder')
-rw-r--r-- | test/Builder/wrapper.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Builder/wrapper.py b/test/Builder/wrapper.py index 55a0f247..ae62846a 100644 --- a/test/Builder/wrapper.py +++ b/test/Builder/wrapper.py @@ -43,7 +43,7 @@ def cat(target, source, env): Cat = Builder(action=cat) def Wrapper(env, target, source): if not target: - target = [string.replace(str(source[0]), '.in', '.wout')] + target = [str(source[0]).replace('.in', '.wout')] t1 = 't1-'+str(target[0]) source = 's-'+str(source[0]) env.Cat(t1, source) |