aboutsummaryrefslogtreecommitdiff
path: root/meta-selftest
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-05-21 12:25:02 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-05-21 22:26:25 +0100
commitced1995694c394d92cb82fb9c25a33dc027a3b69 (patch)
tree62b8b8e2d79afc893f1a09b076811d49930e80bf /meta-selftest
parent7a4c9c96fee4fb514c2b69b52e811c4f896a16f1 (diff)
downloadopenembedded-core-ced1995694c394d92cb82fb9c25a33dc027a3b69.zip
openembedded-core-ced1995694c394d92cb82fb9c25a33dc027a3b69.tar.gz
openembedded-core-ced1995694c394d92cb82fb9c25a33dc027a3b69.tar.bz2
meta/selftest/scripts: Use print function for python3 compatibility
Used print function instead of print statement to make the code work in python 3. [Changes from both Ed and Richard] Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-selftest')
-rw-r--r--meta-selftest/lib/devtool/test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-selftest/lib/devtool/test.py b/meta-selftest/lib/devtool/test.py
index b7474b5..31190f5 100644
--- a/meta-selftest/lib/devtool/test.py
+++ b/meta-selftest/lib/devtool/test.py
@@ -2,7 +2,7 @@ import argparse
def selftest_reverse(args, config, basepath, workspace):
"""Reverse the value passed to verify the plugin is executing."""
- print args.value[::-1]
+ print(args.value[::-1])
def register_commands(subparsers, context):
parser_build = subparsers.add_parser('selftest-reverse', help='Reverse value (for selftest)',