diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-21 12:25:02 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-21 22:26:32 +0100 |
commit | ffe9604be2556b8b5c3f98bcc5283b00bf0c0dab (patch) | |
tree | 67685ecaeb22f93d6a78f707b69170b0bbd270b8 /meta-selftest/lib/devtool/test.py | |
parent | 02986886fc40c0fcd33359a279ba9520fd5cac2a (diff) | |
download | poky-ffe9604be2556b8b5c3f98bcc5283b00bf0c0dab.tar.gz |
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]
(From OE-Core rev: ced1995694c394d92cb82fb9c25a33dc027a3b69)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-selftest/lib/devtool/test.py')
-rw-r--r-- | meta-selftest/lib/devtool/test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-selftest/lib/devtool/test.py b/meta-selftest/lib/devtool/test.py index b7474b5eee..31190f58e7 100644 --- a/meta-selftest/lib/devtool/test.py +++ b/meta-selftest/lib/devtool/test.py | |||
@@ -2,7 +2,7 @@ import argparse | |||
2 | 2 | ||
3 | def selftest_reverse(args, config, basepath, workspace): | 3 | def selftest_reverse(args, config, basepath, workspace): |
4 | """Reverse the value passed to verify the plugin is executing.""" | 4 | """Reverse the value passed to verify the plugin is executing.""" |
5 | print args.value[::-1] | 5 | print(args.value[::-1]) |
6 | 6 | ||
7 | def register_commands(subparsers, context): | 7 | def register_commands(subparsers, context): |
8 | parser_build = subparsers.add_parser('selftest-reverse', help='Reverse value (for selftest)', | 8 | parser_build = subparsers.add_parser('selftest-reverse', help='Reverse value (for selftest)', |