aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@sourceware.org>2020-02-01 19:19:02 +0530
committerSiddhesh Poyarekar <siddhesh@sourceware.org>2020-02-03 09:08:55 +0530
commit44b2d5f1ba16acc2eca010b7c3820753a85b7278 (patch)
treebbca073d62995f9dbaa62f48e5bb0f118fbbbc59
parentb112f53e9d0fc85fc68aadd6442b00491d19830b (diff)
downloadglibc-44b2d5f1ba16acc2eca010b7c3820753a85b7278.zip
glibc-44b2d5f1ba16acc2eca010b7c3820753a85b7278.tar.gz
glibc-44b2d5f1ba16acc2eca010b7c3820753a85b7278.tar.bz2
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>
-rwxr-xr-xscripts/list-fixed-bugs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/list-fixed-bugs.py b/scripts/list-fixed-bugs.py
index e83af23..5255817 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'))