summaryrefslogtreecommitdiffstats
path: root/tools/scripts/gn_find_mocables.py
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2020-03-26 22:17:18 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2020-03-31 08:25:54 +0100
commit3394cde4e89463ba49af379b89863c7731c4b4ac (patch)
tree6f287bc24365ce14e44479ce63793a4e0f92a49c /tools/scripts/gn_find_mocables.py
parent4dfe65f6d4d27bde9d4dae51d262493bea70e619 (diff)
parent3ec12c0b43f885f85427743c03fe099ffed56fc0 (diff)
Merge "Merge branch '5.14' into 5.15"v5.15.0-beta3
Diffstat (limited to 'tools/scripts/gn_find_mocables.py')
-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)