From b3458b3c3b7bfb02b194fef38709710ebb9f296d Mon Sep 17 00:00:00 2001 From: Allan Sandfeld Jensen Date: Wed, 4 Mar 2020 10:25:45 +0100 Subject: Fix gn_find_mocables for Python3 Change-Id: Id25796d4f95878f674009f27a221b2c7b73237fe Reviewed-by: Alexandru Croitor --- tools/scripts/gn_find_mocables.py | 4 ++-- 1 file 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) -- cgit v1.2.3