diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2019-12-09 15:19:39 +0100 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2019-12-09 18:20:13 +0100 |
commit | 4b908a86dfae0a0be53e25d8a3357e2de7dd98e0 (patch) | |
tree | f2d6102f0420dcad26b82256b6884aab7b151e94 /tools | |
parent | f9fc573a6ee7ccd9a436fbe55fdbf7d4e83a6248 (diff) |
Fix tools\debug_windows.py to properly display possible error snippets
The check in find_error_like_snippets was incorrect, and thus never
showed any snippets.
Change-Id: Ie8d487b071e73c6f4a1352e9b10e616694b2e237
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/debug_windows.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/debug_windows.py b/tools/debug_windows.py index 02e00a504..dbde5f534 100644 --- a/tools/debug_windows.py +++ b/tools/debug_windows.py @@ -268,7 +268,7 @@ def find_error_like_snippets(content): ('ERROR: Module load completed but symbols could ' 'not be loaded')} return (re.search('error', l, re.IGNORECASE) - and all(e not in errors for e in errors)) + and all(e not in l for e in errors)) for i in range(1, len(lines)): line = lines[i] |