aboutsummaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/selftest/sstatetests.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-05-15 10:23:25 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-05-16 08:12:15 +0100
commit0c89a8a276b67a9292ee3100003c789126bd9ea9 (patch)
tree415be1c4b61f1d4447d55fb7cec61cee40125b5e /meta/lib/oeqa/selftest/sstatetests.py
parent95b0270e82b5d05d651c05e9c86681978013b346 (diff)
downloadopenembedded-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/sstatetests.py')
-rw-r--r--meta/lib/oeqa/selftest/sstatetests.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/meta/lib/oeqa/selftest/sstatetests.py b/meta/lib/oeqa/selftest/sstatetests.py
index ad591469d3..a1e5d33580 100644
--- a/meta/lib/oeqa/selftest/sstatetests.py
+++ b/meta/lib/oeqa/selftest/sstatetests.py
@@ -454,14 +454,14 @@ http_proxy = "http://example.com/"
for k in files1.viewkeys() | files2.viewkeys():
if k in files1 and k in files2:
- print "%s differs:" % k
- print subprocess.check_output(("bitbake-diffsigs",
+ print("%s differs:" % k)
+ print(subprocess.check_output(("bitbake-diffsigs",
topdir + "/tmp-sstatesamehash/stamps/" + k + "." + files1[k],
- topdir + "/tmp-sstatesamehash2/stamps/" + k + "." + files2[k]))
+ topdir + "/tmp-sstatesamehash2/stamps/" + k + "." + files2[k])))
elif k in files1 and k not in files2:
- print "%s in files1" % k
+ print("%s in files1" % k)
elif k not in files1 and k in files2:
- print "%s in files2" % k
+ print("%s in files2" % k)
else:
assert "shouldn't reach here"
self.fail("sstate hashes not identical.")