diff options
author | William Deegan <bill@baddogconsulting.com> | 2016-05-09 22:32:04 (GMT) |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2016-05-09 22:32:04 (GMT) |
commit | b93369681ca5d4fc9a52fecd4d3afafc2dfa7742 (patch) | |
tree | ccd7830eb7b3b4029326824e0bae65d49b5d5ea5 /test/SConscript | |
parent | f4627c480788454ff3e8ab9f2c75966ed999d9cd (diff) | |
download | SCons-b93369681ca5d4fc9a52fecd4d3afafc2dfa7742.zip SCons-b93369681ca5d4fc9a52fecd4d3afafc2dfa7742.tar.gz SCons-b93369681ca5d4fc9a52fecd4d3afafc2dfa7742.tar.bz2 |
Fixed embedded SConscript/SConstruct's usage of print. Had no parens.
Diffstat (limited to 'test/SConscript')
-rw-r--r-- | test/SConscript/Return.py | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/test/SConscript/Return.py b/test/SConscript/Return.py index a810c7c..997de9d 100644 --- a/test/SConscript/Return.py +++ b/test/SConscript/Return.py @@ -39,50 +39,50 @@ x = SConscript('SConscript2') y, z = SConscript('SConscript3') a4, b4 = SConscript('SConscript4') foo, bar = SConscript('SConscript5') -print "x =", x -print "y =", y -print "z =", z -print "a4 =", a4 -print "b4 =", b4 -print "foo =", foo -print "bar =", bar +print ("x =", x) +print ("y =", y) +print ("z =", z) +print ("a4 =", a4) +print ("b4 =", b4) +print ("foo =", foo) +print ("bar =", bar) """) test.write('SConscript1', """\ -print "line 1" +print ("line 1") Return() -print "line 2" +print ("line 2") """) test.write('SConscript2', """\ -print "line 3" +print ("line 3") x = 7 Return('x') -print "line 4" +print ("line 4") """) test.write('SConscript3', """\ -print "line 5" +print ("line 5") y = 8 z = 9 Return('y z') -print "line 6" +print ("line 6") """) test.write('SConscript4', """\ a4 = 'aaa' b4 = 'bbb' -print "line 7" +print ("line 7") Return('a4', 'b4', stop=False) b4 = 'b-after' -print "line 8" +print ("line 8") """) test.write('SConscript5', """\ foo = 'foo' bar = 'bar' Return(["foo", "bar"]) -print "line 9" +print ("line 9") """) expect = """\ |