]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
list-fixed-bugs.py: Wrap at 72 chars
authorSiddhesh Poyarekar <siddhesh@sourceware.org>
Sat, 1 Feb 2020 13:49:02 +0000 (19:19 +0530)
committerSiddhesh Poyarekar <siddhesh@sourceware.org>
Mon, 3 Feb 2020 03:38:55 +0000 (09:08 +0530)
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>
scripts/list-fixed-bugs.py

index e83af23b0b0af0f34a9d45b18e50e17cf10f6931..5255817fbd7f0db6dbb713e8e5e85d49e57af112 100755 (executable)
@@ -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'))