Squish: Add parentheses around all print statements

Required by Python 3.

Change-Id: Ia28491882a844d3642da38145b1ebfcfbd5883b3
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
Robert Löhning
2021-06-25 16:38:03 +02:00
parent c8b176c9a7
commit 770182653c
2 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -579,7 +579,7 @@ def dumpChildren(item):
def writeTestResults(folder):
if not os.path.exists(folder):
print "Skipping writing test results (folder '%s' does not exist)." % folder
print("Skipping writing test results (folder '%s' does not exist)." % folder)
return
resultFile = open("%s.srf" % os.path.join(folder, os.path.basename(squishinfo.testCase)), "w")
resultFile.write("suite:%s\n" % os.path.basename(os.path.dirname(squishinfo.testCase)))