Skip to content

Commit

Permalink
tools/announcements: skip None tags
Browse files Browse the repository at this point in the history
Kunsi committed Sep 1, 2024
1 parent 2cf7edd commit fdbdc04
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions voctopublish/tools/announcements.py
Original file line number Diff line number Diff line change
@@ -43,6 +43,8 @@ def make_message(ticket, config, max_length=None, override_url_length=None):
message = title + msg

for tag in ticket.publishing_tags:
if tag is None:
continue
tag = sub(r"[^A-Za-z0-9]+", "", str(tag))
if tag.isdigit():
continue

0 comments on commit fdbdc04

Please sign in to comment.