From: Siddhesh Poyarekar Date: Sat, 1 Feb 2020 13:49:02 +0000 (+0530) Subject: list-fixed-bugs.py: Wrap at 72 chars X-Git-Tag: glibc-2.32~760 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=44b2d5f1ba16acc2eca010b7c3820753a85b7278;p=thirdparty%2Fglibc.git 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 --- diff --git a/scripts/list-fixed-bugs.py b/scripts/list-fixed-bugs.py index e83af23b0b0..5255817fbd7 100755 --- a/scripts/list-fixed-bugs.py +++ b/scripts/list-fixed-bugs.py @@ -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'))