mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
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>
This commit is contained in:
@@ -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)',
|
||||
|
||||
Reference in New Issue
Block a user