Skip to content

Commit

Permalink
per suggestion from @bikegeek, output 'None' if there were no items u…
Browse files Browse the repository at this point in the history
…nder a category
  • Loading branch information
georgemccabe committed Dec 18, 2024
1 parent e53d7da commit ec38af9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/scripts/dev_tools/compile_official_release_notes.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@
for cat in issues:
nums = sorted([int(item) for item in issues[cat].keys()])
print(f" .. dropdown:: {cat}\n")
if not nums:
print(' None\n')
continue
for num in nums:
print(issues[cat][str(num)])
print()

0 comments on commit ec38af9

Please sign in to comment.