minor: improve "Copy message" output

Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
Nicolas Sebrecht 2016-06-28 19:02:58 +02:00
parent f4210dc11c
commit 1086d0dd69

View File

@ -386,8 +386,9 @@ class UIBase(object):
self.getnicename(dr), dstfolder)) self.getnicename(dr), dstfolder))
def copyingmessage(self, uid, num, num_to_copy, src, destfolder): def copyingmessage(self, uid, num, num_to_copy, src, destfolder):
"""Output a log line stating which message we copy""" """Output a log line stating which message we copy."""
self.logger.info("Copy message %s (%d of %d) %s:%s -> %s" % (
self.logger.info("Copy message UID %s (%d/%d) %s:%s -> %s"% (
uid, num, num_to_copy, src.repository, src, uid, num, num_to_copy, src.repository, src,
destfolder.repository)) destfolder.repository))