~mdw
/
stgit
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Refactor message printing
[stgit]
/
stgit
/
commands
/
rename.py
diff --git
a/stgit/commands/rename.py
b/stgit/commands/rename.py
index
ca799c3
..
d6c53be
100644
(file)
--- a/
stgit/commands/rename.py
+++ b/
stgit/commands/rename.py
@@
-38,7
+38,6
@@
def func(parser, options, args):
if len(args) != 2:
parser.error('incorrect number of arguments')
if len(args) != 2:
parser.error('incorrect number of arguments')
- print 'Renaming patch "%s" -> "%s"...' % (args[0], args[1]),
- sys.stdout.flush()
+ out.start('Renaming patch "%s" to "%s"' % (args[0], args[1]))
crt_series.rename_patch(args[0], args[1])
crt_series.rename_patch(args[0], args[1])
- print 'done'
+ out.done()