summaryrefslogtreecommitdiffstats
path: root/test/Variables/ListVariable.py
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2016-05-09 22:49:39 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2016-05-09 22:49:39 (GMT)
commitb70ce9026da43a0d659fbc60588e2df471cbba77 (patch)
tree0c87f3229ddbd8122aca08e62252804f3a4b99df /test/Variables/ListVariable.py
parent8db3ac9ab52220be897c562c36599897e43af7ee (diff)
downloadSCons-b70ce9026da43a0d659fbc60588e2df471cbba77.zip
SCons-b70ce9026da43a0d659fbc60588e2df471cbba77.tar.gz
SCons-b70ce9026da43a0d659fbc60588e2df471cbba77.tar.bz2
Fixed print()'s. Still some remaining issues. Check later.
Diffstat (limited to 'test/Variables/ListVariable.py')
-rw-r--r--test/Variables/ListVariable.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/test/Variables/ListVariable.py b/test/Variables/ListVariable.py
index e5be625..c6972c1 100644
--- a/test/Variables/ListVariable.py
+++ b/test/Variables/ListVariable.py
@@ -66,15 +66,15 @@ env = Environment(variables=opts)
opts.Save(optsfile, env)
Help(opts.GenerateHelpText(env))
-print env['shared']
-if 'ical' in env['shared']: print '1'
-else: print '0'
+print(env['shared'])
+if 'ical' in env['shared']: print('1')
+else: print('0')
for x in env['shared']:
- print x,
-print
-print env.subst('$shared')
+ print (x,)
+print()
+print(env.subst('$shared'))
# Test subst_path() because it's used in $CPPDEFINES expansions.
-print env.subst_path('$shared')
+print(env.subst_path('$shared'))
Default(env.Alias('dummy', None))
""")
@@ -162,7 +162,7 @@ opts.AddVariables(
env = Environment(variables=opts)
Help(opts.GenerateHelpText(env))
-print env['gpib']
+print(env['gpib'])
Default(env.Alias('dummy', None))
""")