forked from qt-creator/qt-creator
Squish: Handle None in __cropAndLog__()
Change-Id: Ie2bbcfde7684f0d25ed8ff7e7da2897a9f1a0873 Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
This commit is contained in:
@@ -185,6 +185,9 @@ class JIRA:
|
||||
# this function crops multiple whitespaces from fetched and searches for expected
|
||||
# ids without using regex
|
||||
def __cropAndLog__(self, fetched):
|
||||
if fetched == None:
|
||||
test.log("None passed to __cropAndLog__()")
|
||||
return
|
||||
fetched = " ".join(fetched.split())
|
||||
resoInd = fetched.find('resolution-val')
|
||||
statInd = fetched.find('status-val')
|
||||
|
Reference in New Issue
Block a user