diff options
author | Russel Winder <russel@winder.org.uk> | 2016-01-01 15:01:27 (GMT) |
---|---|---|
committer | Russel Winder <russel@winder.org.uk> | 2016-01-01 15:01:27 (GMT) |
commit | e9989979ac3411919935afe3a8c8c70ebbc4fd58 (patch) | |
tree | 7fdc13c5731ee72d402b6ac19c52b506df77d574 /test/Actions | |
parent | 85aa9baee353e5a7710cb34932ea7ed09a847e39 (diff) | |
download | SCons-e9989979ac3411919935afe3a8c8c70ebbc4fd58.zip SCons-e9989979ac3411919935afe3a8c8c70ebbc4fd58.tar.gz SCons-e9989979ac3411919935afe3a8c8c70ebbc4fd58.tar.bz2 |
Some more print statements to functions.
Diffstat (limited to 'test/Actions')
-rw-r--r-- | test/Actions/pre-post.py | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/test/Actions/pre-post.py b/test/Actions/pre-post.py index e09ee02..179e914 100644 --- a/test/Actions/pre-post.py +++ b/test/Actions/pre-post.py @@ -118,14 +118,14 @@ def b(target, source, env): env1 = Environment(X='111') env2 = Environment(X='222') B = Builder(action = b, env = env1, multi=1) -print "B =", B -print "B.env =", B.env +print("B =", B) +print("B.env =", B.env) env1.Append(BUILDERS = {'B' : B}) env2.Append(BUILDERS = {'B' : B}) env3 = env1.Clone(X='333') -print "env1 =", env1 -print "env2 =", env2 -print "env3 =", env3 +print("env1 =", env1) +print("env2 =", env2) +print("env3 =", env3) f1 = env1.B(File('file1.out'), []) f2 = env2.B('file2.out', []) f3 = env3.B('file3.out', []) @@ -133,12 +133,12 @@ def do_nothing(env, target, source): pass AddPreAction(f2[0], do_nothing) AddPostAction(f3[0], do_nothing) -print "f1[0].builder =", f1[0].builder -print "f2[0].builder =", f2[0].builder -print "f3[0].builder =", f3[0].builder -print "f1[0].env =", f1[0].env -print "f2[0].env =", f2[0].env -print "f3[0].env =", f3[0].env +print("f1[0].builder =", f1[0].builder) +print("f2[0].builder =", f2[0].builder) +print("f3[0].builder =", f3[0].builder) +print("f1[0].env =", f1[0].env) +print("f2[0].env =", f2[0].env) +print("f3[0].env =", f3[0].env) """) test.run(chdir='work2', arguments = '.') |