CI: Fix log_changes including duplicate bug numbers

This commit is contained in:
Wilson Snyder 2026-04-13 21:07:53 -04:00
parent 023b2edd48
commit 232e6b55fa
1 changed files with 4 additions and 2 deletions

View File

@ -89,8 +89,10 @@ def process() -> None:
line,
flags=re.IGNORECASE)
if m:
# print("K %s" % line)
msgs[key] += ' (#' + m.group(2) + ')'
mid = m.group(2)
if ("#" + mid) not in msgs[key]:
# print("K %s" % line)
msgs[key] += ' (#' + mid + ')'
if not msgs:
print("No Changes need to be inserted.")