diff options
author | William Deegan <bill@baddogconsulting.com> | 2017-02-28 04:48:09 (GMT) |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2017-02-28 04:48:09 (GMT) |
commit | 35308fb1e42a1999f47f82543af8c74ff59c6455 (patch) | |
tree | 481904fd0b915427d0f821a243fa636c857c1524 /test/Builder | |
parent | b9d23c2e9507a502be94a44b90d5253229e22b93 (diff) | |
download | SCons-35308fb1e42a1999f47f82543af8c74ff59c6455.zip SCons-35308fb1e42a1999f47f82543af8c74ff59c6455.tar.gz SCons-35308fb1e42a1999f47f82543af8c74ff59c6455.tar.bz2 |
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 55a0f24..ae62846 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) |