chiark
/
gitweb
/
~mdw
/
stgit
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use our nice message printout wrapping system
[stgit]
/
stgit
/
main.py
diff --git
a/stgit/main.py
b/stgit/main.py
index 15582ddff9e21f426ff47bbae2af1114d3afacf4..8e0021726086275531f0bc2f3d2f432400dd4a06 100644
(file)
--- 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: