diff options
author | William Deegan <bill@baddogconsulting.com> | 2016-05-09 22:41:12 (GMT) |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2016-05-09 22:41:12 (GMT) |
commit | 76aae9b8cb7bbd290fcd82fd6dbaf0c3f51c9bc4 (patch) | |
tree | 201599c45b0c36695fb9e69491885c540a08a44c | |
parent | da6d4138160e27aa34f80b6f48ba9e331a69aa77 (diff) | |
download | SCons-76aae9b8cb7bbd290fcd82fd6dbaf0c3f51c9bc4.zip SCons-76aae9b8cb7bbd290fcd82fd6dbaf0c3f51c9bc4.tar.gz SCons-76aae9b8cb7bbd290fcd82fd6dbaf0c3f51c9bc4.tar.bz2 |
Fixed print()'s
-rw-r--r-- | test/SWIG/SWIG.py | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/test/SWIG/SWIG.py b/test/SWIG/SWIG.py index d53fa49..38bdc97 100644 --- a/test/SWIG/SWIG.py +++ b/test/SWIG/SWIG.py @@ -48,14 +48,14 @@ for opt, arg in opts: if opt == '-c': pass elif opt == '-o': out = arg elif opt == '-v' and arg == 'ersion': - print "" - print "SWIG Version 0.1.2" - print "" - print "Compiled with g++ [x86_64-pc-linux-gnu]" - print "" - print "Configured options: +pcre" - print "" - print "Please see http://www.swig.org for reporting bugs and further information" + print("") + print("SWIG Version 0.1.2") + print("") + print("Compiled with g++ [x86_64-pc-linux-gnu]") + print("") + print("Configured options: +pcre") + print("") + print("Please see http://www.swig.org for reporting bugs and further information") sys.exit(0) infile = open(args[0], 'rb') outfile = open(out, 'wb') @@ -68,7 +68,7 @@ sys.exit(0) test.write('SConstruct', """ env = Environment(tools=['default', 'swig'], SWIG = [r'%(python)s', 'myswig.py']) -print env.subst("Using SWIG $SWIGVERSION") +print(env.subst("Using SWIG $SWIGVERSION")) env.Program(target = 'test1', source = 'test1.i') env.CFile(target = 'test2', source = 'test2.i') env.Clone(SWIGFLAGS = '-c++').Program(target = 'test3', source = 'test3.i') |