diff options
author | 2016-05-15 10:23:25 +0100 | |
---|---|---|
committer | 2016-05-16 08:12:15 +0100 | |
commit | 0c89a8a276b67a9292ee3100003c789126bd9ea9 (patch) | |
tree | 415be1c4b61f1d4447d55fb7cec61cee40125b5e /meta/lib/oeqa/selftest/esdk_prepare.py | |
parent | 95b0270e82b5d05d651c05e9c86681978013b346 (diff) | |
download | openembedded-core-contrib-0c89a8a276b67a9292ee3100003c789126bd9ea9.tar.gz |
oeqa: Print function python3 fixes
Use print functions for comptibility with python3.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/selftest/esdk_prepare.py')
-rwxr-xr-x | meta/lib/oeqa/selftest/esdk_prepare.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/lib/oeqa/selftest/esdk_prepare.py b/meta/lib/oeqa/selftest/esdk_prepare.py index 1b36a0d682..406089787d 100755 --- a/meta/lib/oeqa/selftest/esdk_prepare.py +++ b/meta/lib/oeqa/selftest/esdk_prepare.py @@ -28,8 +28,8 @@ class ExtSdkPrepareTest(unittest.TestCase): # load module under test self.test_mod = imp.load_source("", module_dest_path) except: - print "error: unable to copy or load %s [src: %s, dst: %s]" % \ - (module_file_name, module_path, module_dest_path) + print("error: unable to copy or load %s [src: %s, dst: %s]" % \ + (module_file_name, module_path, module_dest_path)) sys.exit(1) def test_prepare_unexpected(self): @@ -66,8 +66,8 @@ if __name__ == '__main__': unittest.TextTestRunner().run(suite) else: progname = os.path.basename(sys.argv[0]) - print "%s: missing directory path" % progname - print "usage: %s /path/to/directory-of(ext-sdk-prepare.py)" % progname + print("%s: missing directory path" % progname) + print("usage: %s /path/to/directory-of(ext-sdk-prepare.py)" % progname) sys.exit(1) else: # running under oe-selftest |