public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] list-fixed-bugs.py: Wrap at 72 chars
@ 2020-02-03 3:39 Siddhesh Poyarekar
0 siblings, 0 replies; only message in thread
From: Siddhesh Poyarekar @ 2020-02-03 3:39 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=44b2d5f1ba16acc2eca010b7c3820753a85b7278
commit 44b2d5f1ba16acc2eca010b7c3820753a85b7278
Author: Siddhesh Poyarekar <siddhesh@sourceware.org>
Date: Sat Feb 1 19:19:02 2020 +0530
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>
Diff:
---
scripts/list-fixed-bugs.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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'))
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-02-03 3:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-03 3:39 [glibc] list-fixed-bugs.py: Wrap at 72 chars Siddhesh Poyarekar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).