From 35308fb1e42a1999f47f82543af8c74ff59c6455 Mon Sep 17 00:00:00 2001 From: William Deegan Date: Mon, 27 Feb 2017 20:48:09 -0800 Subject: fix py2/3 not sure why it was calling string.replace, instead of .replace on the string..? --- test/Builder/wrapper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v0.12