From: Ilya Dryomov Date: Fri, 26 Jun 2026 10:56:27 +0000 (+0200) Subject: script/ptl-tool: fix redmine_linkage_correct case in _get_active_issues() X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=c82a83fc96036bacccebff19834c3b584a870e2e;p=ceph.git script/ptl-tool: fix redmine_linkage_correct case in _get_active_issues() If redmine_linkage_correct is True, _get_active_issues() is supposed to ignore issues with "Multiple Source PRs" category. However that doesn't happen because the category string is compared against (category, text) pair. Signed-off-by: Ilya Dryomov --- diff --git a/src/script/ptl-tool.py b/src/script/ptl-tool.py index 762069ca3b5..c7ac3d928e8 100755 --- a/src/script/ptl-tool.py +++ b/src/script/ptl-tool.py @@ -207,7 +207,7 @@ class AuditReport: def _get_active_issues(self): if self.redmine_linkage_correct: - return [i for i in self.issues if i != "Multiple Source PRs"] + return [(cat, text) for cat, text in self.issues if cat != "Multiple Source PRs"] return self.issues def has_errors(self) -> bool: