summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2017-02-27 20:48:09 -0800
committerWilliam Deegan <bill@baddogconsulting.com>2017-02-27 20:48:09 -0800
commit35308fb1e42a1999f47f82543af8c74ff59c6455 (patch)
tree481904fd0b915427d0f821a243fa636c857c1524
parentb9d23c2e9507a502be94a44b90d5253229e22b93 (diff)
downloadscons-git-35308fb1e42a1999f47f82543af8c74ff59c6455.tar.gz
fix py2/3 not sure why it was calling string.replace, instead of .replace on the string..?
-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 55a0f247b..ae62846a5 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)