mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-21 20:40:05 +00:00
list-fixed-bugs.py: Wrap at 72 chars
Wrap the bug list output at 72 chars to make it easy to paste into emails. Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
This commit is contained in:
parent
b112f53e9d
commit
44b2d5f1ba
@ -48,7 +48,7 @@ def list_fixed_bugs(version):
|
||||
data = json.loads(json_data)
|
||||
for bug in data['bugs']:
|
||||
desc = '[%d] %s: %s' % (bug['id'], bug['component'], bug['summary'])
|
||||
desc = textwrap.fill(desc, width=76, initial_indent=' ',
|
||||
desc = textwrap.fill(desc, width=72, initial_indent=' ',
|
||||
subsequent_indent=' ') + '\n'
|
||||
sys.stdout.buffer.write(desc.encode('utf-8'))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user