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/lib/oe | |
parent | 02986886fc40c0fcd33359a279ba9520fd5cac2a (diff) | |
download | openembedded-core-contrib-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/lib/oe')
-rw-r--r-- | meta/lib/oe/qa.py | 2 | ||||
-rw-r--r-- | meta/lib/oe/utils.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oe/qa.py b/meta/lib/oe/qa.py index 3cfeee737b..cc2902f4af 100644 --- a/meta/lib/oe/qa.py +++ b/meta/lib/oe/qa.py @@ -148,4 +148,4 @@ if __name__ == "__main__": import sys elf = ELFFile(sys.argv[1]) elf.open() - print elf.isDynamic() + print(elf.isDynamic()) diff --git a/meta/lib/oe/utils.py b/meta/lib/oe/utils.py index 30d30629f1..d1dfbfb95d 100644 --- a/meta/lib/oe/utils.py +++ b/meta/lib/oe/utils.py @@ -265,7 +265,7 @@ class ThreadedWorker(Thread): try: func(self, *args, **kargs) except Exception, e: - print e + print(e) finally: self.tasks.task_done() |