Shorten list of messages to be deleted in UI output

Rather than output the full list of messages, coalesce it into number
ranges wherever possible.

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
Sebastian Spaeth 2011-08-22 12:21:12 +02:00 committed by Nicolas Sebrecht
parent fb8017991c
commit 1917be8e83

View File

@ -302,7 +302,7 @@ class UIBase:
ds = s.folderlist(destlist) ds = s.folderlist(destlist)
s._msg("Deleting %d messages (%s) in %s" % \ s._msg("Deleting %d messages (%s) in %s" % \
(len(uidlist), (len(uidlist),
", ".join([str(u) for u in uidlist]), offlineimap.imaputil.uid_sequence(uidlist),
ds)) ds))
def addingflags(s, uidlist, flags, dest): def addingflags(s, uidlist, flags, dest):