summaryrefslogtreecommitdiff
path: root/bin/gen_release_notes.py
diff options
context:
space:
mode:
Diffstat (limited to 'bin/gen_release_notes.py')
-rwxr-xr-xbin/gen_release_notes.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/gen_release_notes.py b/bin/gen_release_notes.py
index adb3442441e..3ade3d93c8a 100755
--- a/bin/gen_release_notes.py
+++ b/bin/gen_release_notes.py
@@ -217,7 +217,10 @@ async def parse_issues(commits: str) -> typing.List[str]:
async def gather_bugs(version: str) -> typing.List[str]:
commits = await gather_commits(version)
- issues = await parse_issues(commits)
+ if commits:
+ issues = await parse_issues(commits)
+ else:
+ issues = []
loop = asyncio.get_event_loop()
async with aiohttp.ClientSession(loop=loop) as session: