From: Karl Hasselström Date: Mon, 8 Oct 2007 05:26:14 +0000 (+0200) Subject: Use our nice message printout wrapping system X-Git-Tag: v0.14~46 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/stgit/commitdiff_plain/762f6c8caf35b0352754d61b70c6ce8264bf2a6d?ds=inline Use our nice message printout wrapping system Signed-off-by: Karl Hasselström --- diff --git a/stgit/main.py b/stgit/main.py index 15582dd..8e00217 100644 --- a/stgit/main.py +++ b/stgit/main.py @@ -282,7 +282,7 @@ def main(): command.func(parser, options, args) except (StgException, IOError, ParsingError, NoSectionError), err: - print >> sys.stderr, '%s %s: %s' % (prog, cmd, err) + out.error(str(err), title = '%s %s' % (prog, cmd)) if debug_level > 0: raise else: