summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2020-03-04 10:25:45 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2020-03-09 13:29:09 +0100
commitb3458b3c3b7bfb02b194fef38709710ebb9f296d (patch)
treefd6a6a1700c0168c4c01e5c45211cc75474b72ac
parent9377855eb7c2310951d67e0fe5454be35fefd72c (diff)
Fix gn_find_mocables for Python3
Change-Id: Id25796d4f95878f674009f27a221b2c7b73237fe Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
-rw-r--r--tools/scripts/gn_find_mocables.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/scripts/gn_find_mocables.py b/tools/scripts/gn_find_mocables.py
index d1f682456..4dc2576e3 100644
--- a/tools/scripts/gn_find_mocables.py
+++ b/tools/scripts/gn_find_mocables.py
@@ -58,10 +58,10 @@ for f in filter(os.path.isfile, files):
includedMocs.add(im.group(1))
for mocable in includedMocs:
- print "Found included moc: " + mocable
+ print("Found included moc: " + mocable)
assert len(includedMocs) == 0 , "Included mocs are not supported !"
for mocable in mocables:
- print mocable
+ print(mocable)
sys.exit(0)