Scripts: Add a documentation comment in changelog_generator.py

This commit is contained in:
Stefanos Kornilios Mitsis Poiitidis 2021-03-30 11:55:39 +03:00
parent 458bebf598
commit 1fdd6fbb14

View File

@ -4,6 +4,12 @@ import sys
import fileinput
import re
# Handles the following formats:
#
# <commit message> -> goes in Misc category
# <Category>: <commit message> -> Goes in <Category>
# <Category>/<Tag>: <commit message> -> Goes in <Category>/<Tag>
Meta = { }
for line in sys.stdin.readlines():
if detailed := re.findall("^([A-Za-z0-9]+)/([A-Za-z0-9]+):(.+)$", line):