From e205550bdb0e9256c87022f2f5f75d81a07d067d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20St=C3=B6neberg?= Date: Wed, 18 Jan 2023 20:19:31 +0100 Subject: [PATCH] donate-cpu-server.py: only include packages which crash on head in the crash report package list (#4714) --- tools/donate-cpu-server.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/donate-cpu-server.py b/tools/donate-cpu-server.py index bb1c0755b..3efbcbe57 100755 --- a/tools/donate-cpu-server.py +++ b/tools/donate-cpu-server.py @@ -26,7 +26,7 @@ from urllib.parse import urlparse # Version scheme (MAJOR.MINOR.PATCH) should orientate on "Semantic Versioning" https://semver.org/ # Every change in this script should result in increasing the version number accordingly (exceptions may be cosmetic # changes) -SERVER_VERSION = "1.3.35" +SERVER_VERSION = "1.3.36" OLD_VERSION = '2.9' @@ -225,10 +225,10 @@ def crashReport(results_path: str, query_params: dict): if counts[1] == 'Crash!': c_head = 'Crash' html += fmt(package, datestr, c_version, c_head) + '\n' - if package_url is not None: - pkgs += '{}\n'.format(package_url) if c_head != 'Crash': break + if package_url is not None: + pkgs += '{}\n'.format(package_url) elif line.find(' received signal ') != -1: crash_line = next(file_, '').strip() location_index = crash_line.rfind(' at ')