]> arthur.barton.de Git - bup.git/commit
ftp: don't output trailing line for 'ls'
authorGabriel Filion <lelutin@gmail.com>
Mon, 16 May 2011 04:27:19 +0000 (00:27 -0400)
committerAvery Pennarun <apenwarr@gmail.com>
Sun, 29 May 2011 22:59:14 +0000 (18:59 -0400)
commit2870930d67c39283de24a3b889cff6d024fe4459
treece4a5eee40e73437de0bd1f734a62160e83fb733
parent65c3cba0df54c455d2848d2c4629f1a4a8a2d969
ftp: don't output trailing line for 'ls'

'ls' is currently the only 'ftp' subcommand that outputs a trailing
newline before the prompt is re-displayed. This is cause by the use of
"print" to output a string that already contains an ending newline.

For a matter of consistency of output, make 'ls' output without that
extra trailing newline.

Signed-off-by: Gabriel Filion <lelutin@gmail.com>
cmd/ftp-cmd.py