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 <idryomov@gmail.com>
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: