This commit is contained in:
Spartan322
2025-01-21 17:08:38 -05:00
96 changed files with 1306 additions and 594 deletions

View File

@@ -249,8 +249,8 @@ def make_license_header(target, source, env):
tag, content = reader.next_tag()
if tag in ("Files", "Copyright", "License"):
part[tag] = content[:]
elif tag == "Comment":
# attach part to named project
elif tag == "Comment" and part:
# attach non-empty part to named project
projects[content[0]] = projects.get(content[0], []) + [part]
if not tag or not reader.current: