diff options
author | Craig Rodrigues <rodrigc@FreeBSD.org> | 2017-03-11 12:09:11 (GMT) |
---|---|---|
committer | Craig Rodrigues <rodrigc@FreeBSD.org> | 2017-03-11 12:09:11 (GMT) |
commit | c14936494d79a00b533e7e8ce9a41e5176c1295f (patch) | |
tree | 079546afb1d6be21831851837d10f4af1d738018 /test/Interactive | |
parent | 055c8046afce036fdfad4bc8d60e4059da148f7d (diff) | |
download | SCons-c14936494d79a00b533e7e8ce9a41e5176c1295f.zip SCons-c14936494d79a00b533e7e8ce9a41e5176c1295f.tar.gz SCons-c14936494d79a00b533e7e8ce9a41e5176c1295f.tar.bz2 |
Use print() function. Fixes py2/3
Diffstat (limited to 'test/Interactive')
-rw-r--r-- | test/Interactive/shell.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/Interactive/shell.py b/test/Interactive/shell.py index 842a12e..40df86f 100644 --- a/test/Interactive/shell.py +++ b/test/Interactive/shell.py @@ -40,7 +40,9 @@ shell_command_py = test.workpath('shell_command.py') _shell_command_py_ = '"%s"' % shell_command_py.replace('\\', '\\\\') test.write(shell_command_py, """\ -print 'hello from shell_command.py' +from __future__ import print_function + +print('hello from shell_command.py') """) test.write('SConstruct', """\ |