summaryrefslogtreecommitdiffstats
path: root/test/Builder
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2017-02-28 04:48:09 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2017-02-28 04:48:09 (GMT)
commit35308fb1e42a1999f47f82543af8c74ff59c6455 (patch)
tree481904fd0b915427d0f821a243fa636c857c1524 /test/Builder
parentb9d23c2e9507a502be94a44b90d5253229e22b93 (diff)
downloadSCons-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.py2
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)