forked from qt-creator/qt-creator
SquishTests: Fix fetching Jira status
Change-Id: If01b08673f88588eee9370488a429a6f633d93db Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -99,8 +99,7 @@ class JIRA:
|
|||||||
test.fatal("No resolution info for %s" % bug)
|
test.fatal("No resolution info for %s" % bug)
|
||||||
self._resolution = 'Done'
|
self._resolution = 'Done'
|
||||||
else:
|
else:
|
||||||
if isinstance(data, (bytes)):
|
data = stringify(data)
|
||||||
data = str(data)
|
|
||||||
data = data.replace("\r", "").replace("\n", "")
|
data = data.replace("\r", "").replace("\n", "")
|
||||||
resPattern = re.compile('<span\s+id="resolution-val".*?>(?P<resolution>.*?)</span>')
|
resPattern = re.compile('<span\s+id="resolution-val".*?>(?P<resolution>.*?)</span>')
|
||||||
resolution = resPattern.search(data)
|
resolution = resPattern.search(data)
|
||||||
|
Reference in New Issue
Block a user