summaryrefslogtreecommitdiff
path: root/tests/system/shared/build_utils.py
diff options
context:
space:
mode:
authorRobert Loehning <robert.loehning@digia.com>2014-05-09 14:41:31 +0200
committerRobert Loehning <robert.loehning@digia.com>2014-05-09 16:04:15 +0200
commit372fc953cd717817b133dbf82b04fd5709da90f1 (patch)
treeff17be9448f403db6656536c1e0782b3eda21539 /tests/system/shared/build_utils.py
parent675a0596715af3f0f0a1cb9ed0d0a8b3e2860d91 (diff)
downloadqt-creator-372fc953cd717817b133dbf82b04fd5709da90f1.tar.gz
Squish: Fix createTasksFile()
Change-Id: I437d9e59723556363e233e939032630246981874 Reviewed-by: Christian Stenger <christian.stenger@digia.com>
Diffstat (limited to 'tests/system/shared/build_utils.py')
-rw-r--r--tests/system/shared/build_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/system/shared/build_utils.py b/tests/system/shared/build_utils.py
index 5a6d4cee44..b1b6322613 100644
--- a/tests/system/shared/build_utils.py
+++ b/tests/system/shared/build_utils.py
@@ -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()