]> arthur.barton.de Git - bup.git/commit - cmd/bloom-cmd.py
midx/bloom: use progress() and debug1() for non-critical messages
authorGabriel Filion <lelutin@gmail.com>
Fri, 25 Feb 2011 16:16:05 +0000 (11:16 -0500)
committerAvery Pennarun <apenwarr@gmail.com>
Sat, 26 Feb 2011 08:59:03 +0000 (00:59 -0800)
commit1baade32f5fed243782d2be9677491d0d3396d19
treec93fd979bc0ea36a5a885351c31d1ebeac242c47
parentc8a4adc2b2033dc9408b8e7ffdd13d4e72fca072
midx/bloom: use progress() and debug1() for non-critical messages

Some messages in these two commands indicate progress but are not
filtered out when the command is not run under a tty. This makes bup
return some unwanted messages when run under cron.

Using progress() and debug1() instead should fix that.

(Changed a few from progress() to debug1() by apenwarr.)

Signed-off-by: Gabriel Filion <lelutin@gmail.com>
Signed-off-by: Avery Pennarun <apenwarr@gmail.com>
cmd/bloom-cmd.py
cmd/midx-cmd.py