Skip to content

Commit 48d5f47

Browse files
authored
Fix #10509 (donate_cpu_lib.py: fixed stupid error in lookup of signal in internal error) (danmar#3503)
1 parent 28955ce commit 48d5f47

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tools/donate_cpu_lib.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# Version scheme (MAJOR.MINOR.PATCH) should orientate on "Semantic Versioning" https://semver.org/
1616
# Every change in this script should result in increasing the version number accordingly (exceptions may be cosmetic
1717
# changes)
18-
CLIENT_VERSION = "1.3.14"
18+
CLIENT_VERSION = "1.3.15"
1919

2020
# Timeout for analysis with Cppcheck in seconds
2121
CPPCHECK_TIMEOUT = 30 * 60
@@ -340,7 +340,7 @@ def scan_package(work_path, cppcheck_path, jobs, libraries):
340340
if 'Child process crashed with signal' in ie_line:
341341
sig_file = ie_line.split(':')[0]
342342
sig_msg = 'signal '
343-
sig_pos = stderr.find(sig_msg)
343+
sig_pos = ie_line.find(sig_msg)
344344
if sig_pos != -1:
345345
sig_start_pos = sig_pos + len(sig_msg)
346346
sig_num = int(ie_line[sig_start_pos:ie_line.find(' ', sig_start_pos)])

0 commit comments

Comments
 (0)