CI: Fix log_changes including duplicate bug numbers
This commit is contained in:
parent
023b2edd48
commit
232e6b55fa
|
|
@ -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.")
|
||||
|
|
|
|||
Loading…
Reference in New Issue