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:
parent
0a25408199
commit
6295d64d54
@ -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):
|
||||||
|
Loading…
Reference in New Issue
Block a user