summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/gen_release_notes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/gen_release_notes.py b/bin/gen_release_notes.py
index 17405530efb..b0d4c507252 100755
--- a/bin/gen_release_notes.py
+++ b/bin/gen_release_notes.py
@@ -149,7 +149,7 @@ async def gather_bugs(version: str) -> typing.List[str]:
# This means we have a bug in the form "Closes: https://..."
issues.append(os.path.basename(urllib.parse.urlparse(bug).path))
else:
- issues.append(bug)
+ issues.append(bug.lstrip('#'))
loop = asyncio.get_event_loop()
async with aiohttp.ClientSession(loop=loop) as session: