From 6f361c4d9a25f092fc2dc81b68bdba03c8b4ca67 Mon Sep 17 00:00:00 2001 From: Sebastian Spaeth Date: Thu, 5 Jan 2012 13:21:08 +0100 Subject: [PATCH] Don't output "Finished in x seconds" in quiet ui The quiet UI should only output errors, and the final "Finished account X in 2 seconds" clearly is none, so the message debug level needed to be reduced to INFO to suppress it in the quiet ui. Fixes https://github.com/spaetz/offlineimap/issues/6 Signed-off-by: Sebastian Spaeth --- offlineimap/ui/UIBase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/offlineimap/ui/UIBase.py b/offlineimap/ui/UIBase.py index 7dc23e5..5ef10cb 100644 --- a/offlineimap/ui/UIBase.py +++ b/offlineimap/ui/UIBase.py @@ -285,7 +285,7 @@ class UIBase(object): """Output that we finished syncing an account (in which time)""" sec = time.time() - self.acct_startimes[account] del self.acct_startimes[account] - self._msg("*** Finished account '%s' in %d:%02d" % + self.logger.info("*** Finished account '%s' in %d:%02d" % (account, sec // 60, sec % 60)) def syncfolders(self, src_repo, dst_repo):