chiark / gitweb /
Wrap the text of error messages
authorKarl Hasselström <kha@treskal.com>
Tue, 3 Jun 2008 00:44:18 +0000 (02:44 +0200)
committerKarl Hasselström <kha@treskal.com>
Tue, 3 Jun 2008 00:44:18 +0000 (02:44 +0200)
commita4b511ffeaba7e283d079d67d76e15463a54062e
treefbfd1464e3ce53649a46f0a7303c413ab0bcbbb4
parent9b4a6e70a1390d653201e48e12d09005b3fba6c8
Wrap the text of error messages

... so that they fit nicely in an 80-column terminal. This makes it
unnecessary to embed newlines and extra spaces in a few places.

This patch only wraps the text of tagged output messages. I haven't
found a reason to wrap other messages, but I haven't looked long and
hard.

Signed-off-by: Karl Hasselström <kha@treskal.com>
stgit/commands/common.py
stgit/out.py