From c82a83fc96036bacccebff19834c3b584a870e2e Mon Sep 17 00:00:00 2001 From: Ilya Dryomov Date: Fri, 26 Jun 2026 12:56:27 +0200 Subject: [PATCH] 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 --- src/script/ptl-tool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.47.3