Skip to content

Commit

Permalink
BUG: Support double colons in Changelog commit summary
Browse files Browse the repository at this point in the history
Closes #2558
  • Loading branch information
thewtex committed Jun 9, 2021
1 parent f0431a1 commit 62804d0
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions Utilities/Maintenance/AuthorsChangesSince.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,26 +185,21 @@ def formatted_current_author():
else:
prefix = line.split(":")[0].strip()
commit = line.split(":")[-1]
description = line.partition(":")[2].rpartition(":")[0].strip()
if prefix == "BUG":
description = line.split(":")[1]
bug_fixes.append((description, commit))
elif prefix == "COMP":
description = line.split(":")[1]
platform_fixes.append((description, commit))
elif prefix == "DOC":
description = line.split(":")[1]
doc_updates.append((description, commit))
elif prefix == "ENH":
description = line.split(":")[1]
enhancements.append((description, commit))
elif prefix == "PERF":
description = line.split(":")[1]
performance_improvements.append((description, commit))
elif prefix == "STYLE":
description = line.split(":")[1]
style_changes.append((description, commit))
else:
description = line.split(":")[1]
description = line.rpartition(":")[0].strip()
misc_changes.append((description, commit))
output += formatted_current_author()

Expand Down

0 comments on commit 62804d0

Please sign in to comment.