forked from qt-creator/qt-creator
SquishTests: Fix access to undefined variable
Amends 29ec942455
.
Change-Id: I82d343e2e5a077d8db265ef83c98fbb490bb58ab
Reviewed-by: Jukka Nokso <jukka.nokso@qt.io>
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
This commit is contained in:
@@ -126,7 +126,7 @@ def displayHintForHighlighterDefinition(fileName, patterns, added):
|
|||||||
if hasSuffix(fileName, patterns):
|
if hasSuffix(fileName, patterns):
|
||||||
return not added
|
return not added
|
||||||
test.warning("Got an unexpected suffix.", "Filename: %s, Patterns: %s"
|
test.warning("Got an unexpected suffix.", "Filename: %s, Patterns: %s"
|
||||||
% (fileName, str(patterns + lPatterns)))
|
% (fileName, str(patterns)))
|
||||||
return False
|
return False
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
Reference in New Issue
Block a user