[oe-commits] [openembedded-core] 19/19: devtool tests: use print function

git at git.openembedded.org git at git.openembedded.org
Fri May 20 09:30:49 UTC 2016


rpurdie pushed a commit to branch python3
in repository openembedded-core.

commit 720ac78d4e60338fa18badf64dae86b35653ef47
Author: Ed Bartosh <ed.bartosh at linux.intel.com>
AuthorDate: Fri May 20 11:59:40 2016 +0300

    devtool tests: use print function
    
    Used print function instead of print statement to make
    the code work in python 3.
    
    Signed-off-by: Ed Bartosh <ed.bartosh at linux.intel.com>
---
 meta-selftest/lib/devtool/test.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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)',

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list