summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2016-05-12 18:21:29 -0400
committerWilliam Deegan <bill@baddogconsulting.com>2016-05-12 18:21:29 -0400
commit877b40e18e47214e03355f59668c3201ae2b58da (patch)
tree8a25ac29a4f827071f4f6af3aeb5a83e4f804d5e
parentf89bd9644652b0796391e2845a89d66e00cc8dea (diff)
downloadscons-877b40e18e47214e03355f59668c3201ae2b58da.tar.gz
fix print() conversion on test
-rw-r--r--test/Deprecated/Options/ListOption.py13
1 files changed, 8 insertions, 5 deletions
diff --git a/test/Deprecated/Options/ListOption.py b/test/Deprecated/Options/ListOption.py
index ad804f2d..42af511c 100644
--- a/test/Deprecated/Options/ListOption.py
+++ b/test/Deprecated/Options/ListOption.py
@@ -68,11 +68,14 @@ opts.Save(optsfile, env)
Help(opts.GenerateHelpText(env))
print(env['shared'])
-if 'ical' in env['shared']: print('1')
-else: print('0')
-for x in env['shared']:
- print(x, end='')
-print()
+
+if 'ical' in env['shared']:
+ print('1')
+else:
+ print('0')
+
+print(" ".join(env['shared']))
+
print(env.subst('$shared'))
# Test subst_path() because it's used in $CPPDEFINES expansions.
print(env.subst_path('$shared'))