[PATCH 2/4] minor: improve "Copy message" output

Nicolas Sebrecht nicolas.s-dev at laposte.net
Tue Jun 28 23:04:45 BST 2016


Signed-off-by: Nicolas Sebrecht <nicolas.s-dev at laposte.net>
---
 offlineimap/ui/UIBase.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/offlineimap/ui/UIBase.py b/offlineimap/ui/UIBase.py
index ef9bb37..769a008 100644
--- a/offlineimap/ui/UIBase.py
+++ b/offlineimap/ui/UIBase.py
@@ -386,8 +386,9 @@ class UIBase(object):
                 self.getnicename(dr), dstfolder))
 
     def copyingmessage(self, uid, num, num_to_copy, src, destfolder):
-        """Output a log line stating which message we copy"""
-        self.logger.info("Copy message %s (%d of %d) %s:%s -> %s" % (
+        """Output a log line stating which message we copy."""
+
+        self.logger.info("Copy message UID %s (%d/%d) %s:%s -> %s"% (
                 uid, num, num_to_copy, src.repository, src,
                 destfolder.repository))
 
-- 
2.7.4





More information about the OfflineIMAP-project mailing list