From dea50d86773e279f7b0f13e22285bb0a10eb5c48 Mon Sep 17 00:00:00 2001 From: William Deegan Date: Mon, 9 May 2016 15:44:39 -0700 Subject: Fixed print()'s --- test/Scanner/scan-once.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/Scanner/scan-once.py b/test/Scanner/scan-once.py index d68f918..eac1f49 100644 --- a/test/Scanner/scan-once.py +++ b/test/Scanner/scan-once.py @@ -36,7 +36,7 @@ test.write('SConstruct', r""" import os.path def scan(node, env, envkey, arg): - print 'XScanner: node =', os.path.split(str(node))[1] + print('XScanner: node =', os.path.split(str(node))[1]) return [] def exists_check(node, env): @@ -51,7 +51,7 @@ XScanner = Scanner(name = 'XScanner', def echo(env, target, source): t = os.path.split(str(target[0]))[1] s = os.path.split(str(source[0]))[1] - print 'create %s from %s' % (t, s) + print('create %s from %s' % (t, s)) Echo = Builder(action = Action(echo, None), src_suffix = '.x', -- cgit v0.12