We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c4dd650 commit 172a36cCopy full SHA for 172a36c
release.py
@@ -27,8 +27,10 @@ def text_from_news():
27
28
text = []
29
for metadata, body in blurbs:
30
- bpo = metadata['bpo']
31
- body = f"- Issue #{bpo}: " + body
+ bpo = metadata.get('bpo')
+ gh = metadata.get('gh-issue')
32
+ issue = f'bpo-{bpo}' if bpo else f'gh-{gh}'
33
+ body = f"- {issue}: " + body
34
text.append(blurb_module.textwrap_body(body, subsequent_indent=' '))
35
36
return '\n'.join(text)
0 commit comments