Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion blurb/blurb.py
Original file line number Diff line number Diff line change
Expand Up @@ -956,9 +956,14 @@ def init_tmp_with_template():
failure = str(e)

if not failure:
assert len(blurb) # if parse_blurb succeeds, we should always have a body
assert len(blurb) # if parse_blurb succeeds, we should always have a body
Comment thread
menkotoglou marked this conversation as resolved.
Outdated
if len(blurb) > 1:
failure = "Too many entries! Don't specify '..' on a line by itself."
gh_issue_number = blurb[0][0]["gh-issue"]
if not gh_issue_number.isdigit():
failure = "The gh-issue number must be a number."
if int(gh_issue_number) < 32426:
failure = "The gh-issue number should be 32426 or above."
Comment thread
menkotoglou marked this conversation as resolved.
Outdated

if failure:
print()
Expand Down