Squish: Fix createTasksFile()

Change-Id: I437d9e59723556363e233e939032630246981874
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
This commit is contained in:
Robert Loehning
2014-05-09 14:41:31 +02:00
parent 675a059671
commit 372fc953cd

View File

@@ -132,7 +132,7 @@ def createTasksFile(buildIssues):
tData = "warning"
else:
tData = "unknown"
if fData.strip() == "" and lData == "-1" and dData.strip() == "":
if str(fData).strip() == "" and lData == "-1" and str(dData).strip() == "":
test.fatal("Found empty task.")
file.write("%s\t%s\t%s\t%s\n" % (fData, lData, tData, dData))
file.close()